Changeset 10525
- Timestamp:
- 22 Aug 2013, 12:03:03 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.cas/trunk/waeup/cas/authenticators.py
r10523 r10525 209 209 'Another Moodle user is using the same email address.' 210 210 ' Email addresses can\'t be used twice in Moodle.') 211 if not 'Username already exists' in faultstring: 211 # If user exists just pass. Unfortunately the error message 212 # given by Moodle is not always the same. 213 if not ('Username already exists' in faultstring or 214 'Unknown error' in faultstring): 212 215 return (False, faultstring) 213 216 try:
Note: See TracChangeset for help on using the changeset viewer.