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 ];
|
var userKey = session[ auth.passport._key ][ auth.userProperty ];
|
||||||
|
|
||||||
if(userKey === undefined)
|
if(userKey === undefined) {
|
||||||
if(auth.fail)
|
if(auth.fail)
|
||||||
return auth.fail( data, accept );
|
return auth.fail( data, accept );
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user