Page 1 of 1

Increase length of MemberID field to allow longer email addresses as login

Posted: 2018-08-27 11:15
by jsetzer
:!: The memberID length (login name) is limited to 20 characters.
:idea: It should be increased to at least 80 characters from my point of view.


The topic has already been discussed here:
How to change the max of 20 characters for the username
https://forums.appgini.com/phpbb/viewto ... f=4&t=1717

Problem
If you want your users to sign in using their e-mail address, registration will fail :!: if their email-address is longer than 20 characters.
I have a customer who's domain name is 23 characters already. MAILBOXNAME + "@" + DOMAINNAME + "." + TLD can become more than 40 characters easily.

As far as I can see, the necessary changes are quite small, because you have already centralized the validation in admin\incCommon.php / is_allowed_username()-function.

I would be very :D if the limt could be increased!

Kind Regards,
Jan

Re: Increase length of MemberID field to allow longer email addresses as login

Posted: 2018-08-28 14:22
by a.gneady
There are several arguments against using the email address as a username. However, AppGini doesn't prevent users from doing so (and doesn't enforce it either). I've added your request to our backlog for future releases. Stay tuned, we're planning to make that backlog/roadmap public soon, with the ability for pro users to vote features up or down.

Re: Increase length of MemberID field to allow longer email addresses as login

Posted: 2018-08-28 17:10
by jsetzer
Thanks a lot,@Ahmad