Exemple #1
0
def s_login(request):
    """
     SAML Login: Phase 1/2 Call SAML Login
    """
    # Form Sets 'next' when user clicks login
    records = MaintenanceRecord.active()
    disable_login = False
    for record in records:
        if record.disable_login:
            disable_login = True
    return saml_loginRedirect(request)
Exemple #2
0
def s_login(request):
    """
     SAML Login: Phase 1/2 Call SAML Login
    """
    #logger.info("Login Request:%s" % request)
    #Form Sets 'next' when user clicks login
    records = MaintenanceRecord.active()
    disable_login = False
    for record in records:
        if record.disable_login:
            disable_login = True
    return saml_loginRedirect(request)
Exemple #3
0
def s_login(request):
    """
     SAML Login: Phase 1/2 Call SAML Login
    """
    #logger.info("Login Request:%s" % request)
    #Form Sets 'next' when user clicks login
    records = MaintenanceRecord.active()
    disable_login = False
    for record in records:
        if record.disable_login:
            disable_login = True
    return saml_loginRedirect(request, settings.REDIRECT_URL+"/login/")