You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by ma...@apache.org on 2021/07/18 19:27:01 UTC
[airavata-django-portal] 01/04: AIRAVATA-3319 Require login for
user profile editor
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 <ma...@apache.org>
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"