Merge pull request #1208 from umap-project/dashboard-popup-end
Fallback user to dashboard after OAuth process
This commit is contained in:
commit
e7212e8dff
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@
|
||||||
window.opener.umap_proceed()
|
window.opener.umap_proceed()
|
||||||
} else {
|
} else {
|
||||||
// Trade off as Twitter does not allow us to access window.opener
|
// 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" %}'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue