ElkArte Community

Elk Development => Feature Discussion => Topic started by: radu81 on October 22, 2018, 02:59:50 am

Title: Login with username or email address
Post by: radu81 on October 22, 2018, 02:59:50 am
What do you think about the idea to let people login with email or username instead of only username? Most people forget their username and they often have problems to login. I see this problem also at work on a joomla website, not only on forums.
Title: Re: Login with username or email address
Post by: ahrasis on October 22, 2018, 03:31:29 am
I think email is just too long in this era of "the flash" as public do prefer something that is easy and fast, yet secured too. Alternative could vary from own pic, phone number and username. I think api to get id and data automatically from a smartphone for easy yet safe registration and login should be considered as well. Just a thought.
Title: Re: Login with username or email address
Post by: radu81 on October 22, 2018, 05:01:00 am
I agree is too long, but users don't forget their emails :D
It's the same aproach used on many other forums: XF, IPS, woltlab, discourse, etc... Here a screenshot form Discourse:
Title: Re: Login with username or email address
Post by: ahrasis on October 22, 2018, 07:13:51 am
If they use one email only for all, may be. ;D

By the way, ElkArte should support something like that (multiple ways to login / register) by default.
Title: Re: Login with username or email address
Post by: radu81 on October 22, 2018, 08:27:16 am
The problem is with the "new generations" or "facebook & social generation" of people. I usually use the same nick on every forum/website. Yesterday we had a meeting with some members from my forum, a couple of them complained that they cannot login, and both were inserting a wrong username. I know there is a "forgot username?" option but don'ask me why they don't use it.
Title: Re: Login with username or email address
Post by: badmonkey on October 22, 2018, 08:35:03 am
You can already do this. Actually, users can be highly creative with their own login with little restriction. I use it as a form of two factor ripoff authentication already. What am I talking about?

Forum users and guests see a user's forum Name from their account. They don't see the user's actual forum Username (except admins, GM, others with permissions). The Username could be setup to be the person's email, name, dog's name, whatever. Could be anything. No certain pattern is required either, that is, admins don't have to know what it is. 

Remember, users login using the Username, not their Name. That's important to tell users if you use this trick. How is it two factor? Even if you have the password, it's useless unless you have the  other info as well.   ;)
Title: Re: Login with username or email address
Post by: radu81 on October 22, 2018, 08:37:54 am
not exactly what I am asking ;)
Also checked nodeBB, they use only email to login
Title: Re: Login with username or email address
Post by: Jorin on October 22, 2018, 08:42:28 am
Some of my users use a special email address only for my board. It's not allowed to do so, but they do. I think they know their username, but they forgot the email address.
Title: Re: Login with username or email address
Post by: badmonkey on October 22, 2018, 08:44:43 am
Quote from: radu81 – not exactly what I am asking ;)
Also checked nodeBB, they use only email to login
 
 You can make email the required Username.  ;)
Title: Re: Login with username or email address
Post by: emanuele on October 22, 2018, 11:40:48 am
Login should already allow to use both username and email without distinction.
If it doesn't I'd consider it a bug.
Title: Re: Login with username or email address
Post by: radu81 on October 22, 2018, 04:14:00 pm
:-[ :-[ Yes, it does login with email or username. I didn't checked first because the login asks for "username" and not for "username or email address". I'd suggest to update that string and translations.
Title: Re: Login with username or email address
Post by: ahrasis on October 22, 2018, 08:44:40 pm
I think the change you need is just in the language files?
Title: Re: Login with username or email address
Post by: emanuele on October 24, 2018, 11:14:27 am
I guess it would make sense.
I'm not sure why it was not made explicit, but I don't see any harm in having it there.
Title: Re: Login with username or email address
Post by: radu81 on October 24, 2018, 04:05:28 pm
It also make sense to me. ;)
There are already a couple of language files with the string "Username or email address" but I don't know which is the file that calls those strings
Title: Re: Login with username or email address
Post by: emanuele on October 25, 2018, 07:51:19 am
Probably the password recovery, but don't quote me on that, I'm trying to remember and I'm a little drunk... (some montepulciano was a little stronger than I expected xD)
Title: Re: Login with username or email address
Post by: badmonkey on October 25, 2018, 08:27:14 am
Quote from: emanuele – Probably the password recovery, but don't quote me on that, I'm trying to remember and I'm a little drunk... (some montepulciano was a little stronger than I expected xD)
 
 Sounds like you should follow up in the Stress Relief thread.  ;D
Title: Re: Login with username or email address
Post by: emanuele on October 25, 2018, 12:58:18 pm
LOL
Title: Re: Login with username or email address
Post by: Frenzie on October 26, 2018, 12:37:40 am
Quote from: radu81 – :-[ :-[ Yes, it does login with email or username. I didn't checked first because the login asks for "username" and not for "username or email address". I'd suggest to update that string and translations.
Hey, I didn't know either! :)