NCBACK-33 add verification logic
Test Workflow / test (push) Successful in 3s

This commit is contained in:
vladp
2026-01-20 15:12:24 +07:00
parent 55fa8b84e2
commit f9accd7af1
14 changed files with 137 additions and 44 deletions
@@ -28,4 +28,8 @@ public class EmailVerificationToken {
@Column(name = "created_at", nullable = false)
private LocalDateTime createdAt;
public boolean isExpired() {
return LocalDateTime.now().isAfter(expiresAt);
}
}