Skip to content

Commit f15b67a

Browse files
committed
Fixes #1219
1 parent 922815a commit f15b67a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • myconext-server/src/main/java/myconext/model

myconext-server/src/main/java/myconext/model/User.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ public User(CreateInstitutionEduID createInstitutionEduID, Map<String, Object> u
128128
this.chosenName = (String) userInfo.get("given_name");
129129
this.givenName = (String) userInfo.get("given_name");
130130
this.familyName = (String) userInfo.get("family_name");
131+
this.lastLogin = System.currentTimeMillis();
131132
}
132133

133134
public User(String uid, String email, String chosenName, String givenName, String familyName,
@@ -145,6 +146,7 @@ public User(String uid, String email, String chosenName, String givenName, Strin
145146
}
146147
this.newUser = true;
147148
this.created = System.currentTimeMillis() / 1000L;
149+
this.lastLogin = System.currentTimeMillis();
148150
}
149151

150152
public User(String uid, String email, String chosenName, String givenName, String familyName,

0 commit comments

Comments
 (0)