aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src
diff options
context:
space:
mode:
Diffstat (limited to 'client/src')
-rw-r--r--client/src/app/shared/users/user.model.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/client/src/app/shared/users/user.model.ts b/client/src/app/shared/users/user.model.ts
index 3f6743bef..3348fe75f 100644
--- a/client/src/app/shared/users/user.model.ts
+++ b/client/src/app/shared/users/user.model.ts
@@ -71,6 +71,8 @@ export class User implements UserServerModel {
71 71
72 pluginAuth: string | null 72 pluginAuth: string | null
73 73
74 lastLoginDate: Date | null
75
74 createdAt: Date 76 createdAt: Date
75 77
76 constructor (hash: Partial<UserServerModel>) { 78 constructor (hash: Partial<UserServerModel>) {
@@ -115,6 +117,7 @@ export class User implements UserServerModel {
115 this.createdAt = hash.createdAt 117 this.createdAt = hash.createdAt
116 118
117 this.pluginAuth = hash.pluginAuth 119 this.pluginAuth = hash.pluginAuth
120 this.lastLoginDate = hash.lastLoginDate
118 121
119 if (hash.account !== undefined) { 122 if (hash.account !== undefined) {
120 this.account = new Account(hash.account) 123 this.account = new Account(hash.account)