changeset 4104:360f31856657

backport fix fixed password refill in login form when wrong password was given It's better to not refill the passwords on wrong credentials given. Standard behaviour on all pages are making the password blank
author Marcin Kuzminski <marcin@python-works.com>
date Sun, 01 Sep 2013 20:34:57 +0200
parents 80528e613f7c
children 99b98a08f722
files rhodecode/controllers/login.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/rhodecode/controllers/login.py	Sun Sep 01 20:04:03 2013 +0200
+++ b/rhodecode/controllers/login.py	Sun Sep 01 20:34:57 2013 +0200
@@ -146,7 +146,7 @@
                 form_result['active'] = c.auto_active
                 UserModel().create_registration(form_result)
                 h.flash(_('You have successfully registered into RhodeCode'),
-                            category='success')
+                        category='success')
                 Session().commit()
                 return redirect(url('login_home'))