fix broken auth

merge-requests/76/head
Moe 2019-07-07 20:58:33 -07:00
parent 2c90248ece
commit 3007f338c7
1 changed files with 1 additions and 1 deletions

View File

@ -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)