minor corrections
This commit is contained in:
parent
ce9063b87d
commit
443ba9fea9
2 changed files with 2 additions and 2 deletions
|
@ -26,7 +26,7 @@ public class UserGenerified {
|
||||||
this.name = user.getUsername();
|
this.name = user.getUsername();
|
||||||
this.displayName = user.getDisplayname();
|
this.displayName = user.getDisplayname();
|
||||||
this.athorities = user.getAuthorities();
|
this.athorities = user.getAuthorities();
|
||||||
athoritiesLost = allRolesList.stream()
|
this.athoritiesLost = allRolesList.stream()
|
||||||
.filter(element -> !athorities.contains(element))
|
.filter(element -> !athorities.contains(element))
|
||||||
.collect(Collectors.toList());
|
.collect(Collectors.toList());
|
||||||
}
|
}
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
Password:
|
Password:
|
||||||
<input type="password" name="password" />
|
<input type="password" name="password" />
|
||||||
</p>
|
</p>
|
||||||
<br /><br /><b>Roles:</b>
|
<b>Roles:</b>
|
||||||
<div th:each="athorities : ${user.athorities}">
|
<div th:each="athorities : ${user.athorities}">
|
||||||
<input name="athorities" type="checkbox" th:value="${athorities.id}" th:checked="true" />
|
<input name="athorities" type="checkbox" th:value="${athorities.id}" th:checked="true" />
|
||||||
<span th:text="${athorities.name}"></span><br />
|
<span th:text="${athorities.name}"></span><br />
|
||||||
|
|
Loading…
Reference in a new issue