Undefined variable, doh.

This commit is contained in:
Chris 2012-03-19 13:45:06 +00:00
parent 4926dfd72e
commit 1690f3da56

View File

@ -217,7 +217,7 @@ sub valid_user {
# that, if an auth method is removed for some reason, the system will try other auth
# methods instead.
if(!$valid && (!$authmethod || !$methodimpl || $self -> {"settings"} -> {"Auth:enable_fallback"})) {
foreach $trymethod (@{$methods}) {
foreach my $trymethod (@{$methods}) {
my $methodimpl = $self -> {"methods"} -> load_method($trymethod)
or die_log($self -> {"cgi"} -> remote_host(), "Auth implementation load failed: ".$self -> {"methods"} -> {"errstr"});