ISSUE SUMMARY:
We instruct our users to put their email address as their username, as we find that too many forget usernames.
Since we upgraded to 4.1.6 we have discovered that if the user edits their profile, when they save, the @ is stripped from the username.
Obviously this means that they can't login using their email address as username.
Has something changed? Do you why '@' is being stripped?
This has happened to 2 people (including me)
STEPS TO REPLICATE:
1 register with email address as username
2 edit profile and save
3
4
5
RESULT @ is disappearing from the username
EXPECTED RESULT email address should be a possible username.
BROWSER
Hi, Susan.
I'm sorry but I can't replicate this on my test site:
i.imgur.com/h4PzzuV.png
Where I can test this on your?
Hi, Susan.
Still can't replicate this:
i.imgur.com/5sAy7uE.png
I use FireFox.
On what browser did you tested this?
Michal,
There is definitely an issue. What we have found is that this can be fixed by....
in /components/com_community/controllers/profile.php
from line 790 onwards:
//if joomla settings allow change login name
if(JComponentHelper::getParams('com_users')->get('change_login_name')){
$username = $jinput->get('username');
}
change to:
//if joomla settings allow change login name
if(JComponentHelper::getParams('com_users')->get('change_login_name')){
$username = $jinput->get('username','','STRING');
}
However, we have not tested that this will not cause any other problems, so Jomsocial should test it.
Hi, Susan.
Aha! This issue apply ONLY to Chrome!
I report this to our developers.
Hi, Is there any progress on this? When our users save their profile their login details are getting corrupted! Not an ideal way of welcoming people to our site!
Thanks
Hi, Susan.
I see that report is still on Alex's list...
I'll update you if patch will be ready...
Issue may be complicated than is seems...
Hi, Susan.
Please, make safe copy of this file:
ROOT/components/com_community/controllers/profile.php
Then replace original with patched file from package.