wger-project / wger

Self hosted FLOSS fitness/workout, nutrition and weight tracker
https://wger.de
GNU Affero General Public License v3.0
3.12k stars 580 forks source link

Redirect users to login page #1677

Open JLaField opened 4 months ago

JLaField commented 4 months ago

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 commented 2 months ago

I would like to work on this issue.

rolandgeider commented 2 months ago

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

nayelimdejesus commented 2 months ago

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 commented 2 months ago

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 commented 4 weeks ago

Hey @nayelimdejesus are you working on this issue?