Set application when not user
This commit is contained in:
parent
781729ff6d
commit
d2d8686259
|
@ -105,6 +105,7 @@ public class GCubeSecret extends Secret {
|
|||
GCubeUser gCubeUser = new GCubeUser();
|
||||
gCubeUser.setRoles(new HashSet<>(clientInfo.getRoles()));
|
||||
gCubeUser.setUsername(clientInfo.getId());
|
||||
gCubeUser.setApplication(true);
|
||||
user = gCubeUser;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue