Fixed constant
This commit is contained in:
parent
4617573a26
commit
bd7ef7ff1c
|
@ -133,7 +133,7 @@ public class JWTSecret extends Secret {
|
||||||
if(clientInfo==null) {
|
if(clientInfo==null) {
|
||||||
User user = getUser();
|
User user = getUser();
|
||||||
if(user.isApplication()) {
|
if(user.isApplication()) {
|
||||||
clientInfo = new ExternalServiceInfo(user.getUsername(), "UNKNOWN");
|
clientInfo = new ExternalServiceInfo(user.getUsername(), "unknown");
|
||||||
}else {
|
}else {
|
||||||
clientInfo = new UserInfo(user.getUsername(), new ArrayList<>(user.getRoles()), user.getEmail(), user.getGivenName(), user.getFamilyName());
|
clientInfo = new UserInfo(user.getUsername(), new ArrayList<>(user.getRoles()), user.getEmail(), user.getGivenName(), user.getFamilyName());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue