diff --git a/app/Exceptions/ExceptionHandler.php b/app/Exceptions/ExceptionHandler.php index 9fe861b7..9c349d94 100644 --- a/app/Exceptions/ExceptionHandler.php +++ b/app/Exceptions/ExceptionHandler.php @@ -17,7 +17,6 @@ class ExceptionHandler extends Handler protected $dontFlash = [ "current_password", "password", - "password_confirmation", ]; public function register(): void diff --git a/app/Http/Middleware/TrimStrings.php b/app/Http/Middleware/TrimStrings.php index 1b261d55..3a32fcd1 100644 --- a/app/Http/Middleware/TrimStrings.php +++ b/app/Http/Middleware/TrimStrings.php @@ -16,6 +16,5 @@ class TrimStrings extends Middleware protected $except = [ "current_password", "password", - "password_confirmation", ]; } diff --git a/app/Http/Requests/RegisterRequest.php b/app/Http/Requests/RegisterRequest.php index 60316fb3..d758afe5 100644 --- a/app/Http/Requests/RegisterRequest.php +++ b/app/Http/Requests/RegisterRequest.php @@ -14,7 +14,7 @@ public function rules(): array return [ "name" => ["required", "string", "max:60"], "email" => ["required", "string", "email", "max:255", "unique:users"], - "password" => ["required", Password::defaults(), "confirmed"], + "password" => ["required", Password::defaults()], ]; } } diff --git a/resources/js/Shared/Layout/Nav.vue b/resources/js/Shared/Layout/Nav.vue index 2f5f5f1e..0f536f38 100644 --- a/resources/js/Shared/Layout/Nav.vue +++ b/resources/js/Shared/Layout/Nav.vue @@ -1,7 +1,7 @@