Permalink
Browse files

Item1029: TemplateLogin? provides status 200 if no username is give, …

…changed to 400

git-svn-id: http://svn.foswiki.org/trunk@2413 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information...
EugenMayer EugenMayer
EugenMayer authored and EugenMayer committed Feb 8, 2009
1 parent cf94c6f commit 6e2362b5e8fde4ec40192d9d554c5932af54b26f
Showing with 3 additions and 0 deletions.
  1. +3 −0 core/lib/Foswiki/LoginManager/TemplateLogin.pm
@@ -187,6 +187,9 @@ sub login {
$banner = $session->templates->expandTemplate('UNRECOGNISED_USER');
}
}
else {
$session->{response}->status( 400 );
}
# TODO: add JavaScript password encryption in the template
# to use a template)

0 comments on commit 6e2362b

Please sign in to comment.