The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.28 (Linux)
|
email address as username - Printable Version +- Form Tools (https://forums.formtools.org) +-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1) +--- Forum: General Discussion (https://forums.formtools.org/forumdisplay.php?fid=5) +--- Thread: email address as username (/showthread.php?tid=502) |
email address as username - brunbrun - Feb 7th, 2010 Is it possible to have the username be their email address? It appears the username field in the db would accept it, but I cannot find how to adjust the validation. Also, I'm not sure if I'll be setting myself up for errors elsewhere. Thanks, Brunbrun RE: email address as username - Ben - Feb 12th, 2010 Hey Brunbrun, Unfortunately not... you're right, though: there's no reason why it wouldn't work. But the existing code (including the validation) requires a separate field for the username so really the only way to do it would be to doctor the core code - never a good idea since it would prevent you from upgrading in the future. Sorry I couldn't be more help! - Ben |