Maybe open a discussion on the developers list. I'm not sure if this is a 
common enough use case to justify incorporating into the framework. What 
seems to be more common is allowing users to authenticate the same account 
with multiple social logins (as well as an email/password option).

If you want to allow multiple email addresses, you'll have to decide 
whether to use a list:string field, a JSON field (better if you want to be 
able to label email addresses, such as "personal", "work", etc.), or a 
separate linked table. You'll also still need to designate a primary email 
address for communications.

Anthony

On Saturday, February 22, 2014 6:21:11 PM UTC-5, Damien wrote:
>
>
> I would like to associate to my users multiple E-mail addresses and phone 
> numbers. I would like these users to be able to authenticate with any 
> (verified) E-mail address or phone number. I am wondering what would be the 
> best approach to achieve this. 
>
> One idea would be to modify the existing Auth class. I am willing to do 
> it, but I would like to know if this is something that could then 
> potentially be merged in the main branch of web2py (any one else interested 
> in this feature?). If not, this approach might not work as I don't want to 
> maintain an alternate version of Auth that would diverge from the one 
> integrated in web2py.
>
> Thank you for your suggestions.
>
> Damien
>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to