Changeset 8348
- Timestamp:
- 4 May 2012, 22:48:31 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/applicants/batching.py
r8336 r8348 240 240 passwd = row.get('password', IGNORE_MARKER) 241 241 if passwd not in ('', IGNORE_MARKER): 242 IUserAccount(obj).setPassword(passwd) 242 if passwd.startswith('{SSHA}'): 243 # already encrypted password 244 obj.password = passwd 245 else: 246 # not yet encrypted password 247 IUserAccount(obj).setPassword(passwd) 243 248 items_changed += ('%s=%s, ' % ('password', passwd)) 244 249 row.pop('password')
Note: See TracChangeset for help on using the changeset viewer.