diff --git a/src/c3nav/editor/hosters/base.py b/src/c3nav/editor/hosters/base.py index 91c28d96..97f142ef 100644 --- a/src/c3nav/editor/hosters/base.py +++ b/src/c3nav/editor/hosters/base.py @@ -18,7 +18,7 @@ class Hoster(ABC): return Package.objects.filter(home_repo__startswith=self.base_url) def _get_callback_uri(self, request): - return request.build_absolute_uri(reverse('editor.finalize.oauth.callback', kwargs={'hoster': self.name})) + return request.build_absolute_uri(reverse('editor.oauth.callback', kwargs={'hoster': self.name})) def _get_session_data(self, request): request.session.modified = True diff --git a/src/c3nav/editor/templates/editor/feature_success.html b/src/c3nav/editor/templates/editor/feature_success.html index 48db8c46..c2a9ebae 100644 --- a/src/c3nav/editor/templates/editor/feature_success.html +++ b/src/c3nav/editor/templates/editor/feature_success.html @@ -3,7 +3,7 @@
diff --git a/src/c3nav/editor/templates/editor/finalize.html b/src/c3nav/editor/templates/editor/finalize.html index 97308b80..083b1ada 100644 --- a/src/c3nav/editor/templates/editor/finalize.html +++ b/src/c3nav/editor/templates/editor/finalize.html @@ -42,9 +42,10 @@Please sign in to continue and propose your edit.
{% endif %} -