89 removed getCurrentUser
This commit is contained in:
parent
90799356ab
commit
e468646cd6
@ -34,11 +34,6 @@ public class AdviceController {
|
|||||||
public AdviceController(UserService userService) {
|
public AdviceController(UserService userService) {
|
||||||
this.userService = userService;
|
this.userService = userService;
|
||||||
}
|
}
|
||||||
//
|
|
||||||
// @ModelAttribute("currentUser")
|
|
||||||
// public String getCurrentUser() {
|
|
||||||
// return userService.getCurrentUser().getUserAbbreviate();
|
|
||||||
// }
|
|
||||||
|
|
||||||
@ModelAttribute("flashMessage")
|
@ModelAttribute("flashMessage")
|
||||||
public String getFlashMessage() {
|
public String getFlashMessage() {
|
||||||
|
@ -81,7 +81,6 @@ function requestResetPassword() {
|
|||||||
error: function(errorData) {
|
error: function(errorData) {
|
||||||
showFeedbackMessage(errorData.responseJSON.error.message, MessageTypesEnum.WARNING)
|
showFeedbackMessage(errorData.responseJSON.error.message, MessageTypesEnum.WARNING)
|
||||||
document.getElementById("dvloader").hidden = true;
|
document.getElementById("dvloader").hidden = true;
|
||||||
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user