Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Mohammed Bayomy MohammedMohammedBayomy

🎯
Focusing
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
MohammedMohammedBayomy / 1README.md
Created Jul 17, 2019 — forked from joseluisq/1README.md
How add a custom field to Laravel 5.4 default login. LoginController.php
View 1README.md

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.',
View Readme.md
You can’t perform that action at this time.