Minor fix.

This commit is contained in:
Julien Fontanet
2014-01-22 22:52:08 +01:00
parent a690982a09
commit cfeb9f7cd4

View File

@@ -6,7 +6,7 @@
exports.signInWithPassword = ->
{email, password} = @getParams {
email: { type: 'string' }
password: { type: 'object' }
password: { type: 'string' }
}
@throw 'ALREADY_AUTHENTICATED' if @session.has 'user_id'