Gossamer Forum
Quote Reply
User signup and email
Hi all!

If the user wants to use a mail as a login - the message is given out: "Invalid format for username: mail@domain.com"
What module is responsible for this check.
I have examined a database and users.def - there is no restriction.
I want to allow to use to users a mail as a login.
Prompt the correct decision.


Web directory and search engine | Dirlist.net Directory - Add your link today.
Quote Reply
Re: [Bigpat] User signup and email In reply to
Hey, this was already answered in your thread posted in Links SQL.

Best regards,

Paid Support
from Webmaster33. Expert in Perl programming & Gossamer Threads applications. (click here for prices)
Webmaster33's products (upd.2004.09.26) | Private message | Contact me | Was my post helpful? Donate my help...
Quote Reply
Re: [Bigpat] User signup and email In reply to
I was interested to know the answer to this myself so I traced the answer to -
admin folder - Dbsql.pm - sub user_validate
which is is being called by - admin folder - Dbsql folder - Admin.pm - sub user_update
This is used when you try adding via your DBMan SQL Admin.
If you allow users to sign-up their own account it does not run the same format check and you can add the user with their email address as the username provided it's less than 12 character (which most probably aren't).