parent
8cd40bd911
commit
2c4d58f5af
1 changed files with 1 additions and 1 deletions
|
@ -1313,7 +1313,7 @@ public class TokenManager {
|
|||
|
||||
public static NotBeforeCheck forModel(KeycloakSession session, RealmModel realmModel, UserModel userModel) {
|
||||
return isLightweightUser(userModel)
|
||||
? new NotBeforeCheck(((LightweightUserAdapter) userModel).getCreatedTimestamp().intValue())
|
||||
? new NotBeforeCheck((int) (((LightweightUserAdapter) userModel).getCreatedTimestamp() / 1000L))
|
||||
: new NotBeforeCheck(session.users().getNotBeforeOfUser(realmModel, userModel));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue