From ea5ab6af4ba17a455dd7541f0e68329463712e88 Mon Sep 17 00:00:00 2001 From: Oliver Gorwits Date: Fri, 23 Aug 2013 12:32:37 +0100 Subject: [PATCH] Typo in authN module which prevented local auth --- Netdisco/Changes | 6 ++++++ Netdisco/lib/App/Netdisco/Web/Auth/Provider/DBIC.pm | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Netdisco/Changes b/Netdisco/Changes index 81a8d1cd..1063effb 100644 --- a/Netdisco/Changes +++ b/Netdisco/Changes @@ -1,3 +1,9 @@ +2.013001 - 2013-08-23 + + [BUG FIXES] + + * Typo in authN module which prevented local auth + 2.013000 - 2013-08-23 [NEW FEATURES] diff --git a/Netdisco/lib/App/Netdisco/Web/Auth/Provider/DBIC.pm b/Netdisco/lib/App/Netdisco/Web/Auth/Provider/DBIC.pm index 08d42d3a..6d9a372e 100644 --- a/Netdisco/lib/App/Netdisco/Web/Auth/Provider/DBIC.pm +++ b/Netdisco/lib/App/Netdisco/Web/Auth/Provider/DBIC.pm @@ -75,7 +75,7 @@ sub match_with_local_pass { my $settings = $self->realm_settings; 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); return ($sum eq $user->$password_column ? 1 : 0);