Browse Source

Demo: fix

developer
Erik Römmelt 5 years ago
parent
commit
0a3a45107a
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      server/authorization.js

+ 1
- 1
server/authorization.js View File

@@ -151,7 +151,7 @@ const authorization = {
entry.type = found.type;
if (! entry.orclgender || entry.orclgender === "")
entry.orclgender = found.orclgender;
return fillSession (req, entry, entry.roles.length > 0 ? common.arrayToHash(entry.roles) : {user:true}, returnSession);
return fillSession (req, entry, entry.roles.length > 0 ? entry.roles : {user:true}, returnSession);
}

// Otherwise create standard user entry

Loading…
Cancel
Save