Fix verification status for first user

This commit is contained in:
Pig Fang 2018-08-21 11:03:57 +08:00
parent 313bc50103
commit 5a2c010f3b

View File

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