Merge pull request #1208 from umap-project/dashboard-popup-end

Fallback user to dashboard after OAuth process
This commit is contained in:
Yohan Boniface 2023-07-17 15:07:26 +02:00 committed by GitHub
commit e7212e8dff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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