X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=web%2FUtil.pm;fp=web%2FUtil.pm;h=8efabfb517959e15db7ad806cb2831608c5f5886;hb=338ed57a1a2c4383dabc59698683d146e3e0dd2a;hp=08a5f070ae891700ea52a7e6636ba3eeae9df852;hpb=7c0a33425eb35461b6805e7b13c794de0749baac;p=mirror%2Fuserdir-ldap.git diff --git a/web/Util.pm b/web/Util.pm index 08a5f07..8efabfb 100644 --- a/web/Util.pm +++ b/web/Util.pm @@ -119,7 +119,7 @@ sub ReadPasswordFromFile { # check to make sure the time is positive, and that the auth token # has not expired my $tdiff = (time - $time); - &HTMLError("Your authentication token has expired. Please relogin") if (($tdiff < 0) || ($tdiff > $config{authexpires})); + &HTMLError("Your authentication token has expired. Please relogin") if (($tdiff < 0) || ($tdiff > $config{authexpires})); return Decrypt($cipher, $passwd); }