user.save()
return login_and_forward(request, user, reverse('index'), _("Thank you, your email is now validated."))
else:
- raise Http404()
+ return render_to_response('auth/mail_already_validated.html', { 'user' : user }, RequestContext(request))
def auth_settings(request, id):
user_ = get_object_or_404(User, id=id)
@decorate.withfn(login_required)
def signout(request):
logout(request)
- return HttpResponseRedirect(reverse('index'))
\ No newline at end of file
+ return HttpResponseRedirect(reverse('index'))