Changeset e5b84dc for phonelux-backend/src/main/java/finki/it/phoneluxbackend/services/UserService.java
- Timestamp:
- 09/11/22 18:03:58 (2 years ago)
- Branches:
- master
- Children:
- 775e15e
- Parents:
- 527b93f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
phonelux-backend/src/main/java/finki/it/phoneluxbackend/services/UserService.java
r527b93f re5b84dc 40 40 User userToRegister = userRepository.findByEmail(user.getEmail()).get(); 41 41 if(userToRegister.getEnabled()) { 42 return ResponseEntity.badRequest().body("Error: Email "+user.getEmail()+" already taken!");42 return ResponseEntity.badRequest().body("Error:Е-маил адресата е веќе зафатена!"); 43 43 } 44 44 else { 45 return ResponseEntity.badRequest().body("E mail "+user.getEmail()+" not activated!" );45 return ResponseEntity.badRequest().body("Error:Профилот не е активиран. Потврдете на вашата е-маил адреса!" ); 46 46 } 47 47 }
Note:
See TracChangeset
for help on using the changeset viewer.