Skip to content
Snippets Groups Projects
Commit 12cc0c02 authored by Julian's avatar Julian
Browse files

Link to correct login view on signup page

parent 4436a97b
No related branches found
No related tags found
2 merge requests!1123Resolve "Finalise Vuetify app as SPA",!1066Translations update from Weblate
Pipeline #106846 failed
......@@ -1397,6 +1397,11 @@ class AccountRegisterView(SignupView):
kwargs["request"] = self.request
return kwargs
def get_context_data(self, **kwargs):
context = super().get_context_data(**kwargs)
context["login_url"] = reverse(settings.LOGIN_URL)
return context
class InvitePersonByID(PermissionRequiredMixin, SingleObjectMixin, View):
"""Custom view to invite person by their ID."""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment