mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-12 14:00:17 +02:00
404 error after user registration (#491)
This fix will resolve the 404 (Page not found) issue after a new user registers to the website.
This commit is contained in:
parent
1b12230cef
commit
f591207d5c
@ -24,7 +24,7 @@ def register_user_view(request):
|
||||
user.save()
|
||||
logger.info("Created new user %s" % user)
|
||||
|
||||
return HttpResponseRedirect("/dashboard")
|
||||
return HttpResponseRedirect("/dashboard/")
|
||||
|
||||
else:
|
||||
logger.error("Unable to register new user: username %s already exists." % form.cleaned_data['username'])
|
||||
@ -37,4 +37,4 @@ def register_user_view(request):
|
||||
logger.debug("Returning blank registration form.")
|
||||
form = RegistrationForm()
|
||||
|
||||
return render_to_response('public/register.html', {'form': form}, context_instance=RequestContext(request))
|
||||
return render_to_response('public/register.html', {'form': form}, context_instance=RequestContext(request))
|
||||
|
Loading…
x
Reference in New Issue
Block a user