remove all changes

before pull
This commit is contained in:
PEDSF 2020-11-24 17:34:45 +01:00
parent 55da71a36a
commit 63814d6324
5 changed files with 14 additions and 2 deletions

View file

@ -59,7 +59,8 @@ public class UserController extends WebSocketSender {
@InitBinder("user")
public void setAllowedFields(WebDataBinder dataBinder) {
dataBinder.setDisallowedFields(CommonAttribute.USER_ID);
// dataBinder.setDisallowedFields(CommonAttribute.USER_ID,"roles");
}
Map<String, String> oauth2AuthenticationUrls = new HashMap<>();

View file

@ -39,4 +39,10 @@ public class BaseDTO implements Serializable {
return this.id == null;
}
@Override
public String toString() {
return "BaseDTO{" +
"id=" + id +
'}';
}
}

View file

@ -50,4 +50,5 @@ public class NamedDTO extends BaseDTO {
return getName().equals(namedDTO.getName());
}
}

View file

@ -11,4 +11,8 @@ import java.io.Serializable;
*/
public class RoleDTO extends NamedDTO implements Serializable {
@Override
public String toString() {
return super.toString();
}
}

View file

@ -27,7 +27,7 @@
<div class="form-group">
<label for="email">Email address</label>
<input type="email" th:field="${user.email}" class="form-control input-lg" id="email" readonly>
<small id="emailHelp" class="form-text text-muted">We'll never share your emailConfiguration with anyone else.</small>
<small id="emailHelp" class="form-text text-muted">We'll never share your email with anyone else.</small>
</div>
<div class="form-group">
<label for="oldPassword">Present password</label>