Forum OpenACS Development: Response to Porting Notes - Take 2

Collapse
Posted by Tom Jackson on

Actually all you need to do to not use the email as the user identifier is to not check to see if the format of the input is an email address, and label your login field accordingly. Of course then you need another place for the email, if you still need one.

One problem with using the email as the login_id is that it is in the parties table. Parties are a parent object of registered users / acs users etc. So whatever is used to log people in should probably be in the table that includes only registered users. Probably a login_id field in the users table, that could accommodate an email address or any other string. It would be nice to have a config switch: LoginIsEmailP, to include the proper checks in the /register/* pages. It is still going to take a lot of hacking on those pages to make it work.