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.displayName = user.getDisplayname();
|
||||
this.athorities = user.getAuthorities();
|
||||
athoritiesLost = allRolesList.stream()
|
||||
this.athoritiesLost = allRolesList.stream()
|
||||
.filter(element -> !athorities.contains(element))
|
||||
.collect(Collectors.toList());
|
||||
}
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
Password:
|
||||
<input type="password" name="password" />
|
||||
</p>
|
||||
<br /><br /><b>Roles:</b>
|
||||
<b>Roles:</b>
|
||||
<div th:each="athorities : ${user.athorities}">
|
||||
<input name="athorities" type="checkbox" th:value="${athorities.id}" th:checked="true" />
|
||||
<span th:text="${athorities.name}"></span><br />
|
||||
|
|
Loading…
Reference in a new issue