mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-22 15:25:49 +00:00
remove all changes
before pull
This commit is contained in:
parent
55da71a36a
commit
63814d6324
5 changed files with 14 additions and 2 deletions
|
@ -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<>();
|
||||
|
|
|
@ -39,4 +39,10 @@ public class BaseDTO implements Serializable {
|
|||
return this.id == null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "BaseDTO{" +
|
||||
"id=" + id +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
|
|
|
@ -50,4 +50,5 @@ public class NamedDTO extends BaseDTO {
|
|||
return getName().equals(namedDTO.getName());
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -11,4 +11,8 @@ import java.io.Serializable;
|
|||
*/
|
||||
public class RoleDTO extends NamedDTO implements Serializable {
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return super.toString();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue