Demo: Changes for ohm-server

This commit is contained in:
roemmelter63329 committed 2019-07-24 16:55:02 +02:00
1 parent 389a744ebe
commit 81e6a60def
1 file changed
+1 -1
+1 -1
View File
@@ -129,7 +129,7 @@ const authorization = {
if (entry != null && entry.pwd) {
if (crypto.checkLocalAuth (entry, req.body.pwd)) {
console.info(entry.roles);
return fillSession (req, entry, JSON.parse(entry.roles), returnSession);
return fillSession (req, entry, entry.roles, returnSession);
}
return returnError ();
}