Typo in authN module which prevented local auth

This commit is contained in:
Oliver Gorwits
2013-08-23 12:32:37 +01:00
parent c6ebc614c3
commit ea5ab6af4b
2 changed files with 7 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
2.013001 - 2013-08-23
[BUG FIXES]
* Typo in authN module which prevented local auth
2.013000 - 2013-08-23 2.013000 - 2013-08-23
[NEW FEATURES] [NEW FEATURES]

View File

@@ -75,7 +75,7 @@ sub match_with_local_pass {
my $settings = $self->realm_settings; my $settings = $self->realm_settings;
my $password_column = $settings->{users_password_column} || 'password'; my $password_column = $settings->{users_password_column} || 'password';
return unless $password and $user->password_column; return unless $password and $user->$password_column;
my $sum = Digest::MD5::md5_hex($password); my $sum = Digest::MD5::md5_hex($password);
return ($sum eq $user->$password_column ? 1 : 0); return ($sum eq $user->$password_column ? 1 : 0);