You can tell that to validators:
'email' => 'unique:users,email_address,'.$user->id
Check the docs, in section ‘Forcing A Unique Rule To Ignore A Given ID’.
More Related Contents:
- Laravel 5.2 Validation Error not appearing in blade
- How to to send mail using gmail in Laravel?
- Laravel update model with unique validation rule for attribute
- Laravel unique validation on multiple columns
- Laravel certificate verification errors when sending TLS email
- Custom user authentication base on the response of an API call
- Expected response code 220 but got code “”, with message “” in Laravel
- Laravel Mail::send() sending to multiple to or bcc addresses
- How to change / Custom password field name for Laravel 4 and Laravel 5 user authentication [duplicate]
- Laravel 5.3 auth check in constructor returning false
- Trying to get Laravel 5 email to work
- Laravel password validation rule
- Laravel mail: pass string instead of view
- Laravel 5.2 Auth not Working
- Laravel: Validation unique on update
- Prevent Browser’s Back Button Login After Logout in Laravel 5
- Class ‘App\Http\Controllers\admin\Auth’ not found in Laravel 5
- Laravel – How to get current user in AppServiceProvider
- How to Validate on Max File Size in Laravel?
- required_if Laravel 5 validation
- Login only if user is active using Laravel
- Custom validator in Laravel 5
- How to return custom error message from controller method validation
- Laravel Auth:attempt() will not persist login
- Expected response code 250 but got code “”, with message “”
- Laravel: Validate maximum File size?
- Check if laravel model got saved or query got executed
- Single Session Login in Laravel
- How can I query raw via Eloquent?
- Laravel 5.2: The Process class relies on proc_open, which is not available on your PHP installation