Support the ongoing development of Laravel.io →
Authentication
Last updated 1 year ago.
0

1 . change the validation rule on the authController

https://github.com/laravel/laravel/blob/master/app/Http/Contro...

2 . change the create method on the same controller

https://github.com/laravel/laravel/blob/master/app/Http/Contro...

3 . copy paste the method from AuthenticatesAndRegistersUsers trait to AuthController and change it so it doesn't use email

https://github.com/laravel/framework/blob/5.0/src/Illuminate/F...

Last updated 8 years ago.
0

Perfect. There ended up being a little more to it than this (in particular, copying the postLogin method needs some dependencies added to AuthController and a reference to $this to be swapped out) but this got me started. Thank you very much!

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.