default value

This commit is contained in:
Erik 2023-02-07 23:07:18 +02:00
parent f031831c5c
commit d103099b69
Signed by: Navy.gif
GPG Key ID: 2532FBBB61C65A68

View File

@ -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;