Update auth.js
parent
fd3cec5d73
commit
2c8ca56621
|
@ -234,7 +234,7 @@ module.exports = function(s,config,lang){
|
||||||
success()
|
success()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(params.auth && JSON.stringify(s.superUsersApi).indexOf(params.auth) > -1){
|
if(params.auth && Object.keys(s.superUsersApi).indexOf(params.auth) > -1){
|
||||||
userFound = true
|
userFound = true
|
||||||
userSelected = s.superUsersApi[params.auth].$user
|
userSelected = s.superUsersApi[params.auth].$user
|
||||||
foundUser()
|
foundUser()
|
||||||
|
|
Loading…
Reference in New Issue