fix broken auth
parent
2c90248ece
commit
3007f338c7
|
|
@ -66,7 +66,7 @@ module.exports = function(s,config,lang){
|
|||
if(user){
|
||||
isSessionKey = true
|
||||
createSession(apiKey,{
|
||||
details: JSON.parse(apiKey.details),
|
||||
details: JSON.parse(user.details),
|
||||
permissions: {}
|
||||
})
|
||||
callback(err,user,isSessionKey)
|
||||
|
|
|
|||
Loading…
Reference in New Issue