Skip to content

Instantly share code, notes, and snippets.


Mohammed Bayomy MohammedMohammedBayomy

Block or report user

Report or block MohammedMohammedBayomy

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
MohammedMohammedBayomy /
Created Jul 17, 2019 — forked from joseluisq/
How add a custom field to Laravel 5.4 default login. LoginController.php

How add a custom field to Laravel 5.4 default login controller.

In this php example (app/Http/Controllers/Auth/LoginController.php) my model is called Client and the custom field for login validation is status. (Client->status)

Add in your resources/lang/en/auth.php file :

    'failed_status' => 'Your account is inactive yet. Please confirm your e-mail address.',
You can’t perform that action at this time.