psono/psono-server

View on GitHub

Showing 423 of 423 total issues

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

                                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/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 eprint_and_exit_gunicorn(f"config from '{config_source}' is empty or not a dict")
                                        Severity: Major
                                        Found in psono/psono/settings.py - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language