Fixed constant

This commit is contained in:
Luca Frosini 2022-03-29 18:34:33 +02:00
parent 4617573a26
commit bd7ef7ff1c
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ public class JWTSecret extends Secret {
if(clientInfo==null) {
User user = getUser();
if(user.isApplication()) {
clientInfo = new ExternalServiceInfo(user.getUsername(), "UNKNOWN");
clientInfo = new ExternalServiceInfo(user.getUsername(), "unknown");
}else {
clientInfo = new UserInfo(user.getUsername(), new ArrayList<>(user.getRoles()), user.getEmail(), user.getGivenName(), user.getFamilyName());
}