mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-17 16:51:22 +00:00
Don't throw error, report it.
This commit is contained in:
@@ -73,7 +73,7 @@ class ForgotPasswordController extends Controller
|
||||
$message = sprintf('Cannot reset password when authenticating over "%s".', config('firefly.authentication_guard'));
|
||||
Log::error($message);
|
||||
|
||||
return view('error', compact('message'));
|
||||
return view('errors.error', compact('message'));
|
||||
}
|
||||
|
||||
// validate host header.
|
||||
@@ -138,7 +138,7 @@ class ForgotPasswordController extends Controller
|
||||
if ('web' !== config('firefly.authentication_guard')) {
|
||||
$message = sprintf('Cannot reset password when authenticating over "%s".', config('firefly.authentication_guard'));
|
||||
|
||||
return view('error', compact('message'));
|
||||
return view('errors.error', compact('message'));
|
||||
}
|
||||
|
||||
// is allowed to?
|
||||
|
||||
Reference in New Issue
Block a user