mirror of
https://github.com/flarum/framework.git
synced 2025-05-18 12:22:34 +08:00
is email confirmed boolean fixed
This commit is contained in:
parent
a2927b725f
commit
684985c25c
@ -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…
x
Reference in New Issue
Block a user