This commit is contained in:
root 2019-12-21 12:38:41 +08:00
parent 41e8b8e6fc
commit b3d73e5417

View File

@ -83,6 +83,7 @@ class V2boardInit extends Command
$user->password = password_hash($password, PASSWORD_DEFAULT);
$user->v2ray_uuid = Helper::guid(true);
$user->token = Helper::guid();
$user->is_admin = 1;
return $user->save();
}
}