django-cas-ng / django-cas-ng

Function with cyclomatic complexity higher than threshold PY-R1000
Anti-pattern
Minor
7 months ago7 months old
LoginView.get has a cyclomatic complexity of 19 with "high" risk
 93
 94        return HttpResponseRedirect(client.get_login_url())
 95
 96    def get(self, request: HttpRequest) -> HttpResponse: 97        """
 98        Forwards to CAS login URL or verifies CAS ticket
 99