mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-16 01:06:46 +00:00
Clean up session code
This commit is contained in:
@@ -86,8 +86,8 @@ class TwoFactorController extends Controller
|
||||
*/
|
||||
public function postIndex(TokenFormRequest $request)
|
||||
{
|
||||
Session::put('twofactor-authenticated', true);
|
||||
Session::put('twofactor-authenticated-date', new Carbon);
|
||||
Session::put('twoFactorAuthenticated', true);
|
||||
Session::put('twoFactorAuthenticatedDate', new Carbon);
|
||||
|
||||
return redirect(route('home'));
|
||||
}
|
||||
|
Reference in New Issue
Block a user