mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-20 00:20:03 +00:00
Expand exception code and fix demo user redirect.
This commit is contained in:
@@ -51,7 +51,7 @@ class IsSandStormUser
|
||||
if (1 === intval(getenv('SANDSTORM'))) {
|
||||
Session::flash('warning', strval(trans('firefly.sandstorm_not_available')));
|
||||
|
||||
return redirect(route('index'));
|
||||
return response()->redirectTo(route('index'));
|
||||
}
|
||||
|
||||
return $next($request);
|
||||
|
||||
Reference in New Issue
Block a user