Beispiel #1
0
def respond_with_connection(request, next_url, connection):
    user = connection.user
    user.backend = 'django.contrib.auth.backends.ModelBackend'

    if 'ipa_integration' in settings.INSTALLED_APPS:
        from ipa_integration.utils import sync_user_info
        sync_user_info(user)

    return do_login(request, user, next=next_url)
Beispiel #2
0
def respond_with_connection(request, next_url, connection):
    user = connection.user
    user.backend = 'django.contrib.auth.backends.ModelBackend'

    return do_login(request, user, next=next_url)
Beispiel #3
0
def respond_with_connection(request, next_url, connection):
    user = connection.user
    user.backend = 'django.contrib.auth.backends.ModelBackend'

    return do_login(request, user, next=next_url)