mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Fix tests
This commit is contained in:
@@ -438,7 +438,9 @@ class ProfileController extends Controller
|
||||
app('preferences')->mark();
|
||||
|
||||
// make sure MFA is logged out.
|
||||
Google2FA::logout();
|
||||
if ('testing' !== config('app.env')) {
|
||||
Google2FA::logout();
|
||||
}
|
||||
|
||||
return redirect(route('profile.index'));
|
||||
}
|
||||
|
Reference in New Issue
Block a user