@@ -24,7 +24,7 @@ public class EmailVerificationToken {
|
||||
private String token;
|
||||
|
||||
@Column(name = "expires_at", nullable = false)
|
||||
private LocalDateTime expiresAt;
|
||||
private LocalDateTime expiresAt = LocalDateTime.now().plusMinutes(15);
|
||||
|
||||
@Column(name = "created_at", nullable = false)
|
||||
private LocalDateTime createdAt;
|
||||
|
||||
Reference in New Issue
Block a user