From 55ee613292c535493bee537c9bcafa37b95ed845 Mon Sep 17 00:00:00 2001 From: hernani Date: Fri, 21 May 2010 23:43:13 +0000 Subject: [PATCH] Bad url reverse causing 500 on temporary signin. git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@314 0cfe37f9-358a-4d5e-be75-b63607b5c754 --- forum/views/auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forum/views/auth.py b/forum/views/auth.py index 6b7f5d1..477f16d 100644 --- a/forum/views/auth.py +++ b/forum/views/auth.py @@ -236,7 +236,7 @@ def temp_signin(request, user, code): user = get_object_or_404(User, id=user) if (ValidationHash.objects.validate(code, user, 'templogin', [user.id])): - return login_and_forward(request, user, reverse('user_authsettings'), + return login_and_forward(request, user, reverse('user_authsettings', kwargs={'id': user.id}), _("You are logged in with a temporary access key, please take the time to fix your issue with authentication.")) else: raise Http404() -- 2.39.5