- Timestamp:
- 21 Sep 2012, 08:19:35 (12 years ago)
- Location:
- main/waeup.kofa/branches/uli-zc-async
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/branches/uli-zc-async
- Property svn:mergeinfo changed
/main/waeup.kofa/branches/uli-async-update removed /main/waeup.kofa/branches/uli-autoinclude-less removed /main/waeup.kofa/trunk removed
- Property svn:mergeinfo changed
-
main/waeup.kofa/branches/uli-zc-async/src/waeup/kofa/students/authentication.py
r9209 r9211 102 102 def checkPassword(self, password): 103 103 """Check whether the given `password` matches the one stored. 104 105 We additionally check if student account has been suspended.106 104 """ 107 105 if not isinstance(password, basestring): … … 109 107 if not getattr(self.context, 'password', None): 110 108 # unset/empty passwords do never match 111 return False112 if self.context.suspended == True:113 109 return False 114 110 passwordmanager = getUtility(IPasswordManager, 'SSHA')
Note: See TracChangeset for help on using the changeset viewer.