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:
parent
891c23747f
commit
a2da1d64f7
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