mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 13:44:06 -08:00
Put the 'remember_token' column as null in the users table
This commit is contained in:
parent
548b172744
commit
5b2a5ff124
|
@ -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.');
|
||||
|
|
Loading…
Reference in a new issue