Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Users: Add option to use e-mail as username #44644

Open
Hackwar opened this issue Dec 19, 2024 · 9 comments
Open

Users: Add option to use e-mail as username #44644

Hackwar opened this issue Dec 19, 2024 · 9 comments

Comments

@Hackwar
Copy link
Member

Hackwar commented Dec 19, 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

@universewrld
Copy link

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

@Hackwar
Copy link
Member Author

Hackwar commented Dec 20, 2024

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

@universewrld
Copy link

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.

@Hackwar
Copy link
Member Author

Hackwar commented Dec 21, 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.

@universewrld
Copy link

universewrld commented Dec 21, 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.

@AasmitPadea
Copy link

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

@Hackwar
Copy link
Member Author

Hackwar commented Dec 23, 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.

@AasmitPadea
Copy link

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

@AasmitPadea
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants