CAS should disabled retrive username

This commit is contained in:
mdipierro
2012-09-24 22:44:19 -05:00
parent 30727ef9e4
commit 722b16e620
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1 +1 @@
Version 2.0.9 (2012-09-24 20:18:26) stable Version 2.0.9 (2012-09-24 22:44:12) stable
+1 -1
View File
@@ -1607,7 +1607,7 @@ class Auth(object):
if settings.cas_provider: ### THIS IS NOT LAZY if settings.cas_provider: ### THIS IS NOT LAZY
settings.actions_disabled = \ settings.actions_disabled = \
['profile','register','change_password', ['profile','register','change_password',
'request_reset_password'] 'request_reset_password','retrieve_username']
from gluon.contrib.login_methods.cas_auth import CasAuth from gluon.contrib.login_methods.cas_auth import CasAuth
maps = settings.cas_maps maps = settings.cas_maps
if not maps: if not maps: