# HG changeset patch # User Marcin Kuzminski # Date 2013-09-01 20:34:57 # Node ID 360f318566577cbe3d187047b07cb686e42a0e4e # Parent 80528e613f7cf8ed30582ef94072e2914c074820 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 diff --git a/rhodecode/controllers/login.py b/rhodecode/controllers/login.py --- a/rhodecode/controllers/login.py +++ b/rhodecode/controllers/login.py @@ -146,7 +146,7 @@ class LoginController(BaseController): 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'))