Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redirect users to login page #1677

Open
JLaField opened this issue May 24, 2024 · 5 comments
Open

Redirect users to login page #1677

JLaField opened this issue May 24, 2024 · 5 comments

Comments

@JLaField
Copy link
Contributor

Steps to Reproduce

  1. While not logged in, navigate to any page that includes the navigation bar, such as https://wger.de/en/software/about-us.
  2. Click the "Training" dropdown, then click on the "Workouts" link.
  3. Alternatively, click the "Nutrition" dropdown, then click on the "Nutrition plans" link.

Expected results:
I would expect to be redirected to the login page, then taken to the intended page upon logging in, as is the case with other links. For example, when I click the "Workouts schedules" link from the training dropdown, I am redirected to this link: https://wger.de/en/user/login?next=/en/routine/schedule/overview.
Actual results:
I am instead taken to https://wger.de/en/routine/overview where I am met with the following message:
image

@nayelimdejesus
Copy link

I would like to work on this issue.

@rolandgeider
Copy link
Member

hi @nayelimdejesus ! Sure go ahead! (if you need any help in setting everything up or anything just write me)

@nayelimdejesus
Copy link

rolandgeider

Hi, I'm trying to setup the project but I'm having trouble with running python manage.py runserver since it gives me an error on celery

@rolandgeider
Copy link
Member

you don't need to setup celery for this, that's only needed for some background tasks like synchronizing exercises or ingredients, if the webapp starts and you can see eveything, it's working

@Gaganjeet15
Copy link

Hey @nayelimdejesus are you working on this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants