Uploaded image for project: 'IGB'
  1. IGB
  2. IGBF-1708

Appstore submit App is crashing if the user is not logged in.

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      submit app is giving 404 Page not found.
      If the user is not logged in then the submit-app button should redirect to the sign-in page.

        Attachments

          Activity

          Hide
          svallapu Sai Charan Reddy Vallapureddy (Inactive) added a comment -

          Branch: https://bitbucket.org/svallapu/appstore/branch/IGBF-1708
          Edited LOGIN_URL variable in settings.py

          When submit app is clicked it calls login_required decorator
          login_required decorator does the following,
          If the user isn’t logged in, redirect to settings.LOGIN_URL

          Source : https://docs.djangoproject.com/en/2.2/topics/auth/default/
          [~aloraine]

          Show
          svallapu Sai Charan Reddy Vallapureddy (Inactive) added a comment - Branch: https://bitbucket.org/svallapu/appstore/branch/IGBF-1708 Edited LOGIN_URL variable in settings.py When submit app is clicked it calls login_required decorator login_required decorator does the following, If the user isn’t logged in, redirect to settings.LOGIN_URL Source : https://docs.djangoproject.com/en/2.2/topics/auth/default/ [~aloraine]

            People

            • Assignee:
              svallapu Sai Charan Reddy Vallapureddy (Inactive)
              Reporter:
              svallapu Sai Charan Reddy Vallapureddy (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: