On 15 Jul 2012, at 6:48 AM, Pystar wrote:
> I am confused on how to implement this strange authentication mechanism and 
> incorporate it into web2py and make it work natively. 
> Take this as an example of how it would work:
> There is no registration on the site, whenever a user wants to login to 
> perform any action, he clicks in the login button, which takes him to a form 
> where he enters his phone number and a random alphanumeric code is generated 
> and sent to his phone which he now enters and gets authenticated and he can 
> now perform whatever action he wants. 
> How do I get this to play with login_bare() and @auth.requires_login()? 
> 

A couple of questions.

Does the user enter anything other than the phone number (and later the code) 
as part of the login/auth process?

How persistent is the login? 

Reply via email to