Skip to content

Commit

Permalink
update method names
Browse files Browse the repository at this point in the history
  • Loading branch information
HliasMpGH committed Mar 1, 2024
1 parent 2256e9f commit 4c2dfcc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public String showRegisterPage() {
* when a login takes place
*/
@PostMapping("login/validate")
public String showResults(@RequestParam("username") String username,
public String authenticateLogin(@RequestParam("username") String username,
@RequestParam("password") String password,
Model model) {

Expand All @@ -65,7 +65,7 @@ public String showResults(@RequestParam("username") String username,
* when a new registration takes place
*/
@PostMapping("register/validate")
public String showResults(@RequestParam("username") String username,
public String authenticateRegister(@RequestParam("username") String username,
@RequestParam("password") String password,
@RequestParam("email") String email,
Model model) {
Expand Down

0 comments on commit 4c2dfcc

Please sign in to comment.