Browse Source

Demo: Changes for ohm-server

developer
Erik Römmelt 4 years ago
parent
commit
81e6a60def
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      server/authorization.js

+ 1
- 1
server/authorization.js 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 ();
}

Loading…
Cancel
Save