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