aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/auth
diff options
context:
space:
mode:
authorElrond <elrond+mediagoblin.org@samba-tng.org>2012-03-25 21:34:05 +0200
committerElrond <elrond+mediagoblin.org@samba-tng.org>2012-03-25 21:34:05 +0200
commit0608d57f5d2b92170649faa37a39ea326e130dfa (patch)
tree6144bbd5d677e2bddad2d4131c2ffaee13705eb5 /mediagoblin/auth
parent5101f84404e5b00af5a202d08eae33b152c81853 (diff)
parent952b97d5a0671e1b4a68692a3b5f8a696cd2ca5f (diff)
downloadmediagoblin-0608d57f5d2b92170649faa37a39ea326e130dfa.tar.lz
mediagoblin-0608d57f5d2b92170649faa37a39ea326e130dfa.tar.xz
mediagoblin-0608d57f5d2b92170649faa37a39ea326e130dfa.zip
Merge remote-tracking branch 'gandaro/forgot-password-autofillin'
* gandaro/forgot-password-autofillin: set username default server-side Fill username automatically in (Forget Password)
Diffstat (limited to 'mediagoblin/auth')
-rw-r--r--mediagoblin/auth/views.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/mediagoblin/auth/views.py b/mediagoblin/auth/views.py
index 46c937b0..71a5f379 100644
--- a/mediagoblin/auth/views.py
+++ b/mediagoblin/auth/views.py
@@ -236,7 +236,8 @@ def forgot_password(request):
Sends an email with an url to renew forgotten password
"""
- fp_form = auth_forms.ForgotPassForm(request.POST)
+ fp_form = auth_forms.ForgotPassForm(request.POST,
+ username=request.GET.get('username'))
if request.method == 'POST' and fp_form.validate():