use of org.libresonic.player.command.PasswordSettingsCommand in project libresonic by Libresonic.
the class PasswordSettingsController method displayForm.
@RequestMapping(method = RequestMethod.GET)
protected ModelAndView displayForm(HttpServletRequest request) throws Exception {
PasswordSettingsCommand command = new PasswordSettingsCommand();
User user = securityService.getCurrentUser(request);
command.setUsername(user.getUsername());
command.setLdapAuthenticated(user.isLdapAuthenticated());
return new ModelAndView("passwordSettings", "command", command);
}
Aggregations