Read the docs Jim...
http://web2py.com/books/default/chapter/29/09/access-control#Two-step-verification On Tuesday, July 19, 2022 at 3:18:33 PM UTC-5 Jim S wrote: > Hi > > I'm looking to modify my web2py login to do a poor man's 2 factor auth. > > I would like my login to proceed like this: > > 1. present login page > 2. user fills out username/password and submits > 3. if username/password match proceed to step 4 - if not, re-display > login page > 4. send sms message with random 6 digit code to the user cell phone > 5. pop up screen for user to enter the 6 digit code > 6. If the code matches the generated code then set the user as logged in - > if it doesn't match, then the user is not logged in > > Has anyone done anything like this before? I'm trying to figure out how to > pop up the additional screen and take input before marking user as logged > in. > > -Jim > > -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/ae7c8637-fe5b-4b2f-b95f-a7a06b591864n%40googlegroups.com.