Put the 'remember_token' column as null in the users table

This commit is contained in:
Ivan Nieto Vivanco 2022-02-17 18:03:00 -06:00
parent 548b172744
commit 5b2a5ff124

View file

@ -1230,6 +1230,7 @@ class SettingsController extends Controller
if (is_file($file))
unlink($file);
}
DB::table('users')->update(['remember_token' => null]);
\Auth::logout();
return redirect()->route('login')->with('success', 'Your system has been restored. Please login again.');