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:
parent
8ef08d5a07
commit
4b999812f1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user