default value
This commit is contained in:
parent
f031831c5c
commit
d103099b69
@ -37,7 +37,7 @@ class User {
|
||||
this._applications = data.applications || [];
|
||||
|
||||
this.externalProfiles = data.externalProfiles || {};
|
||||
this.permissions = PermissionManager.merge(data.permissions, PermissionManager.DefaultPermissions);
|
||||
this.permissions = PermissionManager.merge(data.permissions || {}, PermissionManager.DefaultPermissions);
|
||||
|
||||
/** @private */
|
||||
this._passwordHash = data.password || null;
|
||||
|
Loading…
Reference in New Issue
Block a user