diff --git a/app/Actions/Fortify/UpdateUserProfileInformation.php b/app/Actions/Fortify/UpdateUserProfileInformation.php index 44499326..6a6be6c4 100644 --- a/app/Actions/Fortify/UpdateUserProfileInformation.php +++ b/app/Actions/Fortify/UpdateUserProfileInformation.php @@ -21,7 +21,7 @@ class UpdateUserProfileInformation implements UpdatesUserProfileInformation { Validator::make($input, [ 'name' => ['required', 'string', 'max:255'], - 'email' => ['email', 'max:255', Rule::unique('users') + 'email' => ['nullable', 'email', 'max:255', Rule::unique('users') ->ignore($user->id) ], 'photo' => ['nullable', 'mimes:jpg,jpeg,png', 'max:1024'],