Fix for HTML-encoded special characters in passwords.

This commit is contained in:
Chris 2012-10-09 12:33:30 +01:00
parent 79725b405b
commit 8b4cc1e5f6

View File

@ -35,6 +35,8 @@ package Auth;
use strict;
use base qw(SystemModule);
use HTML::Entities;
# Custom module imports
use AuthMethods;
@ -215,6 +217,9 @@ sub valid_user {
my $valid = 0;
my $methodimpl;
# clean up the password
$password = decode_entities($password);
$self -> clear_error();
# Is the user disabled?