Added comment in pam_auth.py

This commit is contained in:
Massimo Di Pierro
2011-11-23 17:30:02 -06:00
parent 3c87b19d36
commit bcb9cba19e
2 changed files with 9 additions and 1 deletions
+1 -1
View File
@@ -1 +1 @@
Version 1.99.3 (2011-11-23 16:58:24) dev
Version 1.99.3 (2011-11-23 17:29:51) dev
+8
View File
@@ -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):