aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/user_pages/forms.py
diff options
context:
space:
mode:
authorSebastian Spaeth <Sebastian@SSpaeth.de>2013-01-21 16:27:19 +0100
committerSebastian Spaeth <Sebastian@SSpaeth.de>2013-01-21 17:15:39 +0100
commit69b5623552a86a7cad92571e937384836cf6165c (patch)
tree4ca462e6f9bbcb834d9efba27a60a9c7a79f4e2e /mediagoblin/user_pages/forms.py
parenta89df96132a897b1ac31da8719cd6dc0d621cc13 (diff)
downloadmediagoblin-69b5623552a86a7cad92571e937384836cf6165c.tar.lz
mediagoblin-69b5623552a86a7cad92571e937384836cf6165c.tar.xz
mediagoblin-69b5623552a86a7cad92571e937384836cf6165c.zip
Also set login_failed in case of form errors
If we send a POST request to the login page which contained form errors (e.g. a too short password), the variable "login_failed" was not set to true. This condition was tested by the test suite however, so we should make sure that login_failed is set even if the form failed to validate. Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
Diffstat (limited to 'mediagoblin/user_pages/forms.py')
0 files changed, 0 insertions, 0 deletions