Changeset 8347 for main/waeup.kofa/trunk/src/waeup/kofa
- Timestamp:
- 4 May 2012, 22:47:53 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/batching.py
r8309 r8347 180 180 passwd = row.get('password', IGNORE_MARKER) 181 181 if passwd not in ('', IGNORE_MARKER): 182 IUserAccount(obj).setPassword(passwd) 182 if passwd.startswith('{SSHA}'): 183 # already encrypted password 184 obj.password = passwd 185 else: 186 # not yet encrypted password 187 IUserAccount(obj).setPassword(passwd) 183 188 row.pop('password') 184 189
Note: See TracChangeset for help on using the changeset viewer.