Added comment in pam_auth.py
This commit is contained in:
@@ -1 +1 @@
|
||||
Version 1.99.3 (2011-11-23 16:58:24) dev
|
||||
Version 1.99.3 (2011-11-23 17:29:51) dev
|
||||
|
||||
@@ -5,6 +5,14 @@ def pam_auth():
|
||||
to use pam_login:
|
||||
from gluon.contrib.login_methods.pam_auth import pam_auth
|
||||
auth.settings.login_methods.append(pam_auth())
|
||||
|
||||
or
|
||||
|
||||
auth.settings.actions_disabled=[
|
||||
'register','change_password','request_reset_password']
|
||||
auth.settings.login_methods=[pam_auth()]
|
||||
|
||||
The latter method will not store the user password in auth_user.
|
||||
"""
|
||||
|
||||
def pam_auth_aux(username, password):
|
||||
|
||||
Reference in New Issue
Block a user