Fix verification status for first user
This commit is contained in:
parent
313bc50103
commit
5a2c010f3b
@ -153,6 +153,7 @@ class SetupController extends Controller
|
||||
$user->permission = User::SUPER_ADMIN;
|
||||
$user->register_at = get_datetime_string();
|
||||
$user->last_sign_at = get_datetime_string(time() - 86400);
|
||||
$user->verified = true;
|
||||
|
||||
$user->save();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user