mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-15 22:28:14 +00:00
Don't throw error, report it.
This commit is contained in:
@@ -80,7 +80,7 @@ class ResetPasswordController 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'));
|
||||
}
|
||||
|
||||
$rules = [
|
||||
@@ -127,7 +127,7 @@ class ResetPasswordController 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 register?
|
||||
|
||||
Reference in New Issue
Block a user