mirror of
https://github.com/flarum/framework.git
synced 2024-12-11 13:05:50 +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…
Reference in New Issue
Block a user