mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-11 09:42:15 +01:00
Deactivated registration
This commit is contained in:
committed by
Constantin Graf
parent
28904b650e
commit
fc0a840ded
@@ -35,7 +35,9 @@ class UserVerifyCommand extends Command
|
||||
$this->info('Start verifying user with email "'.$email.'"');
|
||||
|
||||
/** @var User|null $user */
|
||||
$user = User::where('email', $email)->first();
|
||||
$user = User::query()->where('email', $email)
|
||||
->where('is_placeholder', '=', false)
|
||||
->first();
|
||||
|
||||
if ($user === null) {
|
||||
$this->error('User with email "'.$email.'" not found.');
|
||||
|
||||
Reference in New Issue
Block a user