Add signin component.

This commit is contained in:
2019-02-12 21:40:44 +01:00
parent 1a6ce6a929
commit 3e1c53b86b
8 changed files with 176 additions and 9 deletions
@@ -76,8 +76,8 @@ public class AccountController {
}
@PostMapping("/signin")
public UserDTO signin(@RequestBody final UserDTO pUser, final HttpServletResponse pResponse) throws IOException {
return accountService.signin(pUser, pResponse);
public void signin(@RequestBody final User pUser, final HttpServletResponse pResponse) throws IOException {
accountService.signin(pUser, pResponse);
}
@PutMapping("/")