psono/psono-server

View on GitHub

Showing 228 of 423 total issues

Avoid too many return statements within this function.
Open

            return {
Severity: Major
Found in psono/restapi/utils/duo.py - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

            return request.user and request.user.is_authenticated
    Severity: Major
    Found in psono/restapi/permissions.py - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

              return {
      Severity: Major
      Found in psono/restapi/utils/duo.py - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

                return {
        Severity: Major
        Found in psono/restapi/utils/duo.py - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

              return enrollment_status
          Severity: Major
          Found in psono/restapi/utils/duo.py - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                        return Response({"non_field_errors": ["REGISTRATION_EMAIL_DELIVERY_FAILED"]},
            Severity: Major
            Found in psono/restapi/views/register.py - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                      return Response({"success": "REGISTRATION_SUCCESSFUL"},
              Severity: Major
              Found in psono/restapi/views/register.py - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                        return {
                Severity: Major
                Found in psono/restapi/utils/duo.py - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                          return {
                  Severity: Major
                  Found in psono/restapi/utils/duo.py - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                                    return
                    Severity: Major
                    Found in psono/restapi/management/commands/testduoconnection.py - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                                  return False
                      Severity: Major
                      Found in psono/restapi/utils/various.py - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                            return True, None
                        Severity: Major
                        Found in psono/restapi/utils/ivalt.py - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                                  return {
                          Severity: Major
                          Found in psono/restapi/utils/duo.py - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                    return {
                            Severity: Major
                            Found in psono/restapi/utils/duo.py - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                              return
                              Severity: Major
                              Found in psono/restapi/management/commands/testduoconnection.py - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                                    return
                                Severity: Major
                                Found in psono/restapi/management/commands/testduoconnection.py - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                          return {
                                  Severity: Major
                                  Found in psono/restapi/utils/duo.py - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                        return auth
                                    Severity: Major
                                    Found in psono/restapi/utils/duo.py - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                                  return False
                                      Severity: Major
                                      Found in psono/restapi/utils/various.py - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                                    return {
                                        Severity: Major
                                        Found in psono/restapi/utils/duo.py - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language