From a2da1d64f7cea49bfaa7c7064a406f1631022af0 Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Sun, 16 Jul 2023 12:04:51 +0200 Subject: [PATCH] Fallback user to dashboard after OAuth process Now that we have a dashboard page, this makes more sense than the "public profile" page. --- umap/templates/umap/login_popup_end.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/umap/templates/umap/login_popup_end.html b/umap/templates/umap/login_popup_end.html index 1d93152a..ec2f8458 100644 --- a/umap/templates/umap/login_popup_end.html +++ b/umap/templates/umap/login_popup_end.html @@ -6,7 +6,7 @@ window.opener.umap_proceed() } else { // Trade off as Twitter does not allow us to access window.opener - window.location.href = '{{ request.user.get_url }}' + window.location.href = '{% url "user_dashboard" %}' } }