Changeset 10525


Ignore:
Timestamp:
22 Aug 2013, 12:03:03 (11 years ago)
Author:
Henrik Bettermann
Message:

Temporary solution to get the live system running.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.cas/trunk/waeup/cas/authenticators.py

    r10523 r10525  
    209209                    'Another Moodle user is using the same email address.'
    210210                    ' 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):
    212215                return (False, faultstring)
    213216        try:
Note: See TracChangeset for help on using the changeset viewer.