You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[ConfirmRegister] Error if username has only digits #88
I'm trying to create registration with only email needed. I generate usernames like 4568245873 but when i try to confirm registration - i see 404 error page. I tried to create user using old registration - when i type username like "Skippidar" - everything is ok and i can verify my email, but if i type 0000000007 or any other digits - i see 404 error page again.
I solved it by adding "u" at the beginning when generating username. But i think that's MODX's registry bug, so it would be better to use not $this->modx->registry->login->subscribe('/useractivation/'.$this->user->get('username'));
but $this->modx->registry->login->subscribe('/useractivation/user'.$this->user->get('username'));
changed the title [-][ConfirmRegister] Error if username was generated in preHook[/-][+][ConfirmRegister] Error if username has only digits[/+]on Mar 21, 2017
Activity
[-][ConfirmRegister] Error if username was generated in preHook[/-][+][ConfirmRegister] Error if username has only digits[/+]matdave commentedon Sep 18, 2017
I think I have a related issue. It appears if the password is all digits, it has the same result.
zlobinberg commentedon Jan 10, 2018
I have the same problem. It is very important for me that users always enter only digits in their login.
Applied hack [[! LoginRegisterFix, but I need to be in the database, too, without the "u" - so it does not suit me.
What to do? There is a solution? Help please, for earlier thanks.