This commit is contained in:
Claudio Maggioni (maggicl) 2020-05-27 00:01:55 +02:00
parent b8b55d4efb
commit 9125111708
3 changed files with 6 additions and 2 deletions

View file

@ -45,6 +45,10 @@ public class ConfirmationToken {
resetPassword = false;
}
public ConfirmationToken() {
this((User) null);
}
@Override
public boolean equals(Object o) {
if (this == o) return true;

View file

@ -33,4 +33,4 @@ email.resetpasswordSubject=SmartHut.sm password reset
email.resetpassword=To reset your password, please click here:
email.resetpasswordPath=http://localhost:3000/password-reset?token=
email.resetPasswordRedirect=http://localhost:3000/conf-reset-pass
camera.videoUrl="/security_camera_videos/security_camera_1.mp4"
camera.videoUrl=/security_camera_videos/security_camera_1.mp4

View file

@ -40,4 +40,4 @@ email.resetpasswordSubject=SmartHut.sm password reset
email.resetpassword=To reset your password, please click here:
email.resetpasswordPath=${FRONTEND_URL}/password-reset?token=
email.resetPasswordRedirect=${FRONTEND_URL}/conf-reset-pass
camera.videoUrl="/security_camera_videos/security_camera_1.mp4"
camera.videoUrl=/security_camera_videos/security_camera_1.mp4