make reset password Kotlin/Android app functional
LocationBasedServices/sumoc-backend/pipeline/head This commit looks good
LocationBasedServices/sumoc-backend/pipeline/pr-main This commit looks good

- small refactor for resetPassword
This commit is contained in:
Elias Harb
2026-02-23 18:30:15 +01:00
parent 57e9beb33f
commit 82014b1d9c
4 changed files with 13 additions and 12 deletions
@@ -17,12 +17,12 @@ public class PasswordResetToken{
private Long id;
private String email;
private String otp_code;
private String otpCode;
private LocalDateTime expiryDate;
public PasswordResetToken(String email, String code) {
this.email = email;
this.otp_code = code;
this.otpCode = code;
this.expiryDate = LocalDateTime.now().plusMinutes(EXPIRY_TIME_MINUTES);
}