2
1
mirror of https://github.com/Thream/socketio-jwt.git synced 2024-07-21 09:38:31 +02:00

fix missing {

This commit is contained in:
José F. Romaniello 2013-06-30 16:44:46 -03:00
parent 8ef08d5a07
commit 4b999812f1

View File

@ -55,7 +55,7 @@ function authorize(options) {
var userKey = session[ auth.passport._key ][ auth.userProperty ];
if(userKey === undefined)
if(userKey === undefined) {
if(auth.fail)
return auth.fail( data, accept );
else