Feature No Code Attached Yet
avatar Hackwar
Hackwar
19 Dec 2024

Is your feature request related to a problem? Please describe.

People nowadays normally don't use usernames anymore, but their email address as username. Joomla should support that by removing the username field and using the email field for this.

Describe the solution you'd like

Add a switch in the configuration of the user component to switch between usernames and using the email address as username and adopt login, registration and profile views and code accordingly.

Additional context

avatar Hackwar Hackwar - open - 19 Dec 2024
avatar joomla-cms-bot joomla-cms-bot - change - 19 Dec 2024
Labels Added: Feature No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 19 Dec 2024
avatar universewrld
universewrld - comment - 20 Dec 2024

finally this is added as a feature, i requested this almost 9 years ago here!

avatar Hackwar
Hackwar - comment - 20 Dec 2024

I just made this proposal. This doesn't mean it is added.

avatar universewrld
universewrld - comment - 20 Dec 2024

I just made this proposal. This doesn't mean it is added.

anyway, i think this is one of the most requested feature, it could just be an extra line in @joomla settings like "allow login via email", many third party extensions already offer this, so now is the time to add it as a default option out of the box.

avatar Hackwar
Hackwar - comment - 21 Dec 2024

However it isn't just a one-line-change. Besides the option to switch between email and username, you have to add code to remove the username in forms everywhere, rename login fields, find solutions to stay backwards compatible, etc.

avatar universewrld
universewrld - comment - 21 Dec 2024

email and username, you have to add code to remove the username in forms everywhere, rename login fields

instead of the username field it can be the login or email field

Image
Image
Image
Image

this is how Google and many other major websites did it.

avatar AasmitPadea
AasmitPadea - comment - 23 Dec 2024

I can work on this issue. My plan is to change the way of how the forms accept data so that we can get either of username or email and process it further as needed. I am eager to work on this issue please sir assign this issue to me i would love to add this feature

avatar Hackwar
Hackwar - comment - 23 Dec 2024

We don't assign issues to anybody. You can just work on something and send in a pull request and then we will discuss your code and maybe accept it.

avatar AasmitPadea
AasmitPadea - comment - 24 Dec 2024

Could you please help me i am having problems in understanding the codebase of joomla-cms. In which section of the file structure is all the logic to handle forms are written i will work accordingly

avatar AasmitPadea
AasmitPadea - comment - 24 Dec 2024

I have a quick question regarding the feature to use email as the username in Joomla. Will this change be applied only to the login and signup forms, or will it also affect other areas like user profiles and backend management?

Looking forward to your clarification.

avatar AasmitPadea
AasmitPadea - comment - 24 Dec 2024

I too found the login and registration form logic. Thank-you

avatar AasmitPadea
AasmitPadea - comment - 24 Dec 2024

I too found the login and registration form logic. Thank-you

Add a Comment

Login with GitHub to post a comment