mirror of
https://github.com/elyby/accounts.git
synced 2025-05-31 14:11:46 +05:30
Rework email_activation model, get rid of behaviors, use json column to store additional data
This commit is contained in:
@@ -37,7 +37,7 @@ class EmailActivationKeyValidator extends Validator {
|
||||
return;
|
||||
}
|
||||
|
||||
if ($activation->isExpired()) {
|
||||
if ($activation->isStale()) {
|
||||
$this->addError($model, $attribute, $this->expired);
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user