Control Web Panel

WebPanel => CentOS-WebPanel Bugs => Topic started by: SimeonF on June 08, 2018, 02:20:53 PM

Title: Login: Username too long
Post by: SimeonF on June 08, 2018, 02:20:53 PM
Hi,

Whenever I try to login, I get redirected to the login page without any errors. In chrome's network tab, I can see a a hidden request with the return "username too long".

Can you please disable that check for logins?
Title: Re: Login: Username too long
Post by: josemnunez on June 10, 2018, 09:43:07 AM
try to execute this script and tell me how it went

Code: [Select]
sh /scripts/mysql_pwd_reset
Title: Re: Login: Username too long
Post by: SimeonF on June 11, 2018, 07:41:24 AM
Did not fix the problem.

Username with 6 chars still works, all usernames with 9+ chars don't. I'd guess, someone got the idea to limit the username to 8 chars ...
Title: Re: Login: Username too long
Post by: josemnunez on June 11, 2018, 07:43:46 AM
Effectively the user name is 8 characters, but this is nothing new, since you can not start session
Title: Re: Login: Username too long
Post by: SimeonF on June 11, 2018, 07:57:43 AM
Everything worked until the login checked for username length ...

Linux usernames are not limited by 8 chars anymore (man useradd says: "Usernames may only be up to 32 characters long.").
Title: Re: Login: Username too long
Post by: josemnunez on June 11, 2018, 08:07:20 AM
For cwp user names can not exceed 8 characters
Title: Re: Login: Username too long
Post by: sinaps1 on October 16, 2020, 08:35:35 AM
For cwp user names can not exceed 8 characters

The best ansswer from supporting service.. at least write it somewhere in the introduction what does and does not offer CWP.. before someone tries to move everything for better and get it worse...