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 && \ 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 {