PDA

View Full Version : Username Field Length?


jonwatson
13th February 2007, 01:06
Hi All,

I've recently run across an issue where the email username field is too small. It seems to only want to accept 4-32 characters. I 've changed the field in the form to 255 as well as the field in the database, but I still can't put more than 32 characters into the field on the form.

I can, however, put a longer username into the database directory, so this seems to be strictly a form issue.

Any tips on how to solve this?

Thanks!

till
13th February 2007, 09:15
You will have to change the regular expression(s) that check the username in the file /home/admispconfig/ispconfig/lib/plugins/isp_username.plugin.php too.

jonwatson
13th February 2007, 15:13
You will have to change the regular expression(s) that check the username in the file /home/admispconfig/ispconfig/lib/plugins/isp_username.plugin.php too.

Really? I'll give that a whirl, but since the form actually stops me from entering more than 32 characters (like, before it's submitted) I think there's more to it than that, no?

Thanks!

jonwatson
14th February 2007, 19:57
You will have to change the regular expression(s) that check the username in the file /home/admispconfig/ispconfig/lib/plugins/isp_username.plugin.php too.

Worked like a charm, thanks!