mirror of
https://github.com/snipe/snipe-it.git
synced 2026-02-05 18:15:46 +00:00
Put the 'remember_token' column as null in the users table
This commit is contained in:
@ -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.');
|
||||
|
||||
Reference in New Issue
Block a user