Login and forgot password with custom field #6346
-
|
Some of my applications will have an ID or username beside an email for users. Is it possible to reset or log in with a username or ID instead of an email? |
Beta Was this translation helpful? Give feedback.
Answered by
crynobone
Dec 16, 2024
Replies: 1 comment
-
|
Released with Laravel Nova 5.0.0 You should be able to customize by using /**
* Register the configurations for Laravel Fortify.
*/
protected function fortify(): void
{
Nova::fortify()
->usernameUsing('username')
->register();
} |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
crynobone
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Released with Laravel Nova 5.0.0
You should be able to customize by using
usernameUsing()andemailUsing().