make reset password Kotlin/Android app functional
- small refactor for resetPassword
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user