1
0
mirror of https://github.com/flarum/core.git synced 2025-02-24 19:23:01 +01:00

is email confirmed boolean fixed

This commit is contained in:
Daniel Klabbers 2018-04-17 14:27:52 +02:00
parent a2927b725f
commit 684985c25c

View File

@ -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]);