Skip to content
Snippets Groups Projects
Verified Commit 27718149 authored by Timm Fitschen's avatar Timm Fitschen
Browse files

Merge branch 'f-update-own-password' into f-permission-rules

parents 2af5d12e d854e2ea
No related branches found
No related tags found
No related merge requests found
Pipeline #14911 passed
...@@ -81,6 +81,8 @@ public class MySQLRetrieveUser extends MySQLTransaction implements RetrieveUserI ...@@ -81,6 +81,8 @@ public class MySQLRetrieveUser extends MySQLTransaction implements RetrieveUserI
while (roles_rs.next()) { while (roles_rs.next()) {
if (ret == null) { if (ret == null) {
ret = new ProtoUser(); ret = new ProtoUser();
ret.realm = principal.getRealm();
ret.name = principal.getUsername();
} }
if (ret.roles == null) { if (ret.roles == null) {
ret.roles = new HashSet<String>(); ret.roles = new HashSet<String>();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment