Add signin module.

This commit is contained in:
2018-05-21 23:16:39 +02:00
parent 8706c60b9f
commit d2ddf947dd
3 changed files with 28 additions and 0 deletions

View File

@@ -82,4 +82,9 @@ public class AccountController {
pResponse.sendError(HttpServletResponse.SC_UNAUTHORIZED);
}
}
@PostMapping("/signin")
public UserDTO signin(@RequestBody final UserDTO pUser, final HttpServletResponse pResponse) throws IOException {
return accountService.signin(pUser, pResponse);
}
}