This is an automated email from the ASF dual-hosted git repository. machristie pushed a commit to branch staging in repository https://gitbox.apache.org/repos/asf/airavata-django-portal.git
commit e725c116092af18d3c103b8a84651e8ccdc36846 Author: Marcus Christie <[email protected]> AuthorDate: Sun Jul 18 15:00:15 2021 -0400 AIRAVATA-3319 Require login for user profile editor --- django_airavata/apps/auth/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/django_airavata/apps/auth/views.py b/django_airavata/apps/auth/views.py index 45f3b79..4174b4f 100644 --- a/django_airavata/apps/auth/views.py +++ b/django_airavata/apps/auth/views.py @@ -532,6 +532,7 @@ def access_token_redirect(request): f"{quote(request.authz_token.accessToken)}") +@login_required def user_profile(request): return render(request, "django_airavata_auth/base.html", { 'bundle_name': "user-profile"
