summary and desc appi
LocationBasedServices/sumoc-backend/pipeline/head This commit looks good

This commit is contained in:
Daniel
2026-02-18 18:02:41 +01:00
parent 4fb02a3f69
commit f04e5d7c06
@@ -79,7 +79,10 @@ public class UserAuthenticationController {
return new ResponseEntity<>(responseDTO, HttpStatus.OK);
}
@PostMapping("/request-password-forgot")
@Operation(summary = "OTP Code zur änderung des Passworts", description = "Erstellt bei Anfrage einen neuen 6-stelligen OTP Code, " +
"mit welchem das Passwort des Accounts mit der zugehörigen Email einmalig verändert werden kann." +
" Dieser wird per Mail an den Nutzer gesendet.")
@PostMapping("/request-password-reset")
public ResponseEntity<String> handleForgotPasswordRequest(@RequestBody String email, Principal principal){
System.out.println("####################### Handle Password Reset Request #######################");
System.out.println(email);
@@ -97,7 +100,8 @@ public class UserAuthenticationController {
}
}
@Operation(summary = "Veränderung des Passworts eines Profils ", description = "Durch Eingabe eines Validen OTP Codes " +
"zu einer zugehörigen Email kann das Passwort des Profils geändert werden.")
@PostMapping("/reset-password")
public ResponseEntity<String> handlePasswordResetRequest(@RequestBody PasswordResetDTO passwordResetDTO){
System.out.println("####################### Handle Password Reset Request RESET #######################");