Fallback user to dashboard after OAuth process

Now that we have a dashboard page, this makes more sense than the
"public profile" page.
This commit is contained in:
Yohan Boniface 2023-07-16 12:04:51 +02:00
parent 891c23747f
commit a2da1d64f7

View file

@ -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" %}'
}
}