예제 #1
0
파일: views.py 프로젝트: jlaunonen/kompassi
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)
예제 #2
0
파일: views.py 프로젝트: tracon/kompassi
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)
예제 #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)