Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

fix: fix users accessing trophies view without logging in

Franciscoaccdcead41d0
diff --git a/wger/trophies/urls.py b/wger/trophies/urls.py
index bfd7a4f6c..8fea0b500 100644
--- a/wger/trophies/urls.py
+++ b/wger/trophies/urls.py
@@ -26,7 +26,7 @@ from .views import TrophiesOverview
urlpatterns = [
path(
'',
- ReactView.as_view(),
+ ReactView.as_view(login_required=True),
name='overview',
),
path(