diff --git a/app/Providers/FortifyServiceProvider.php b/app/Providers/FortifyServiceProvider.php index d26e8fc..cb9db12 100644 --- a/app/Providers/FortifyServiceProvider.php +++ b/app/Providers/FortifyServiceProvider.php @@ -48,10 +48,10 @@ public function boot() } }); Fortify::registerView(function () { - if (config('quickstart.access.user.login')) { + if (config('quickstart.access.user.login') && config('quickstart.access.user.registration')) { return view('auth.register'); } else { - return (abort(404)); + abort(404); } }); Fortify::requestPasswordResetLinkView(function () { diff --git a/resources/views/auth/confirm-password.blade.php b/resources/views/auth/confirm-password.blade.php index 5200eb1..c0c6c90 100644 --- a/resources/views/auth/confirm-password.blade.php +++ b/resources/views/auth/confirm-password.blade.php @@ -9,8 +9,8 @@ @include('includes.partials.lang') @include('includes.partials.switch') -
{{ __('You need to confirm your password to complete this action.') }}
+{{ __('You need to confirm your password to complete this action.') }}
@include('includes.partials.messages'){{ __('Reset your forgotten password') }}
+{{ __('Reset your forgotten password') }}
@include('includes.partials.messages')Don't have an account yet? Register Now
-Don't have an account yet? Register Now
+Already have an account? Login Now
-Already have an account? Login Now
+