Skip to content

Commit

Permalink
Item12263: use the proper mapper
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/trunk@16105 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
MichaelDaum authored and MichaelDaum committed Nov 26, 2012
1 parent b79cf55 commit 315bacc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/lib/Foswiki/LoginManager/TemplateLogin.pm
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ sub login {

if ($loginName) {
my $validation = $users->checkPassword( $loginName, $loginPass );
$error = $users->passwordError();
$error = $users->passwordError($loginName);

if ( !$validation
&& $Foswiki::cfg{TemplateLogin}{AllowLoginUsingEmailAddress}
Expand Down

0 comments on commit 315bacc

Please sign in to comment.