Changeset 7215773 for src/main/java/com/example/moviezone
- Timestamp:
- 02/28/23 13:36:36 (21 months ago)
- Branches:
- master
- Children:
- 8a18cf5
- Parents:
- 1fcb086
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/com/example/moviezone/web/HomeController.java
r1fcb086 r7215773 192 192 try { 193 193 userService.register(first_name,last_name,username,email,number,password,role); 194 response.sendRedirect( "redirect:/login"); 194 195 195 }catch (PasswordsDoNotMatchException exception) 196 196 { 197 197 // return "redirect:/register?error=" + exception.getMessage(); 198 198 } 199 } 200 199 response.sendRedirect("/login"); 200 } 201 201 202 } 202 203 @GetMapping("/registerWorker")
Note:
See TracChangeset
for help on using the changeset viewer.