mirror of
https://github.com/flarum/framework.git
synced 2025-01-07 19:13:37 +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']
|
$admin['password']
|
||||||
);
|
);
|
||||||
|
|
||||||
$user->is_activated = 1;
|
$user->is_email_confirmed = 1;
|
||||||
$user->save();
|
$user->save();
|
||||||
|
|
||||||
$user->groups()->sync([Group::ADMINISTRATOR_ID]);
|
$user->groups()->sync([Group::ADMINISTRATOR_ID]);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user