Change E-Mail field to Username (login page)
Hi guys,
I have a quick question: How can I change the E-mail field in the login form to a Username field? Any pointers or guidance would be greatly appreciated.
Thanks again!
Good question! Would love to know!
The GSΒ It should say βUsername or Emailβ to avoid confusion, especially for students without an email address or those who log in using just their username.
Fit LehrerΒ Well maybe it is because I use Fluent Auth, but my login does just that.
Username can be used to login already.
J VΒ Weβre aware of that, but our users behave a bit differently β when they see βEmail,β many of them just give up trying to log in, which leads to a huge loss of engagement.
Fit LehrerΒ In that case, I'd say you just need to change the placeholder text. I'm no coding expert but I think you could achieve that with a custom code snippet.
The way I solved it was to simply create a FF change email form, add the link to the user account area (not very sexy though), and enable double-opt-in. It works beautifully.
Matt ZimmermanΒ Thatβs a really clever workaround, and Iβm glad to hear itβs working smoothly for you π
For our setup though, weβre trying to avoid adding yet another plugin on top (even for something relatively small like this). The fewer additional plugins we rely on, the better for long-term stability, performance, and maintenanceβespecially as we scale.
So while your FF change email form + double opt-in approach is definitely a solid solution, weβd really prefer to find a way to handle this without introducing another dependency if possible.