mirror of
https://github.com/flarum/core.git
synced 2025-07-29 20:50:28 +02:00
Rename dead is_activated references with the new is_email_confirmed (#1974)
This commit is contained in:
@@ -71,7 +71,7 @@ class SendConfirmationEmailController implements RequestHandlerInterface
|
||||
|
||||
$this->assertRegistered($actor);
|
||||
|
||||
if ($actor->id != $id || $actor->is_activated) {
|
||||
if ($actor->id != $id || $actor->is_email_confirmed) {
|
||||
throw new PermissionDeniedException;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user