Subject: | check for invalid usernames |
Hello,
There is a line (315 I think):
croak "wrong username" unless /^([A-Z]|[a-z]){1}¥w{0,254}/;
This ensures that usernames cannot start with a number. I'm not aware of any such restriction (there may be, in which case just let me know), so I'd propose changing that line to:
croak "wrong username" unless /^([A-Z]|[a-z]|(0-9){1}¥w{0,254}/;
Thanks
--hussein