update: reset user confirm

This commit is contained in:
tokumeikoi 2022-12-15 23:57:27 +08:00
parent 3ba1e87222
commit 8eab09440b

View File

@ -42,6 +42,9 @@ class ResetUser extends Command
*/ */
public function handle() public function handle()
{ {
if (!$this->confirm("确定要重置所有用户安全信息吗?")) {
return;
}
ini_set('memory_limit', -1); ini_set('memory_limit', -1);
$users = User::all(); $users = User::all();
foreach ($users as $user) foreach ($users as $user)