mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 09:39:10 +08:00
update: reset user confirm
This commit is contained in:
parent
3ba1e87222
commit
8eab09440b
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user