Login via Email or Phone Number #745
Replies: 3 comments 1 reply
-
This function is in /vendor/backpack/crud/src/app/Library/Auth/AuthenticatesUsers.php You need to override if need to customize the login process. Cheers. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks @jorgetwgroup for the steer.
I now need to do the same for forgotten password. Is there an easier way? |
Beta Was this translation helpful? Give feedback.
1 reply
-
I will close the issue, if you need any further support with this topic, you are free to re-open or create a new one. Cheers. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I have extended the user table with phonenumber and phonecountry columns to allow the user to login with a phone number instead of an email.
I have made the change to the view, login.blade.php, but I can't see how to change the code to use this information.
The blade goes to route - backpack.auth.login on submit,
according to the route:list, this goes to
GET|HEAD admin/login .................................................... backpack.auth.login › Backpack\CRUD › LoginController@showLoginForm
but I can't find this function.
Any help/ tips would be greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions