updated_at default 0

pull/4/head
shengzhaoli.shengz 2023-10-19 17:26:04 +08:00
parent 3ce6f9ca95
commit e2a5b51e96
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ public class ClaimsOAuth2TokenCustomizer implements OAuth2TokenCustomizer<JwtEnc
if (scopes.contains(OidcScopes.PROFILE)) {
String attrVal = nullUser ? null : user.nickname();
claims.claim("nickname", attrVal == null ? "" : attrVal);
claims.claim("updated_at", "");
claims.claim("updated_at", 0);
}
}
}