mirror of
https://github.com/flarum/framework.git
synced 2025-03-15 00:05:12 +08:00
is email confirmed boolean fixed
This commit is contained in:
parent
f04eaa1549
commit
8e85d89e72
@ -349,7 +349,7 @@ class InstallCommand extends AbstractCommand
|
||||
$admin['password']
|
||||
);
|
||||
|
||||
$user->is_activated = 1;
|
||||
$user->is_email_confirmed = 1;
|
||||
$user->save();
|
||||
|
||||
$user->groups()->sync([Group::ADMINISTRATOR_ID]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user