• 1583 views
  • 0 comments
  • loading...

Auth provides multiple login methods.

To start using Auth, you need at least this code in a model file, which is also provided with the web2py "welcome" application and assumes a db connection object:




from gluon.tools import Auth

auth = Auth(db)
auth.define_tables(username=False,signature=False)

Related References


loading...


Comments

loading...

Powered by
Web2py

Hosted on
www.pythonanywhere.com
(affiliated link)