From fc8ed4691099fcf085a41d582068c5f865b001d9 Mon Sep 17 00:00:00 2001 From: Christian Ramseyer Date: Tue, 20 Aug 2019 19:55:59 +0200 Subject: [PATCH 1/2] Manually install Test::Compile 2.1.2 for Travis CI (#635) Seems to work, I'm merging this and add some comments in #622 --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index 3db9448d..2ae006c5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,6 +17,8 @@ branches: - /^2\.\d{6}$/ - 'master' install: + - wget https://github.com/egiles/test-compile/archive/v2.1.2.tar.gz + - cpanm -v v2.1.2.tar.gz - cpanm --quiet --notest PkgConfig Test::CChecker Alien::zlib::Static Alien::OpenSSL::Static Alien::SNMP script: | perl Build.PL && \ From 54a86112e4e2f3fc93a90ce723f226c748991486 Mon Sep 17 00:00:00 2001 From: Alan Buxey Date: Thu, 22 Aug 2019 14:25:24 +0100 Subject: [PATCH 2/2] fix raidus typo (#637) radius not raidus --- lib/App/Netdisco/Web/Auth/Provider/DBIC.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/App/Netdisco/Web/Auth/Provider/DBIC.pm b/lib/App/Netdisco/Web/Auth/Provider/DBIC.pm index 9b86037c..bb6780be 100644 --- a/lib/App/Netdisco/Web/Auth/Provider/DBIC.pm +++ b/lib/App/Netdisco/Web/Auth/Provider/DBIC.pm @@ -110,7 +110,7 @@ sub match_password { if ($user->ldap) { $pwmatch_result = $self->match_with_ldap($password, $username); } - elsif ($user->raidus) { + elsif ($user->radius) { $pwmatch_result = $self->match_with_radius($password, $username); } else {