X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=Util.pm;h=8efabfb517959e15db7ad806cb2831608c5f5886;hb=be1495662e4a4404faa46a81befb2dbf30a794cd;hp=08a5f070ae891700ea52a7e6636ba3eeae9df852;hpb=2176e71591cb51a4896afccde2163b37827fe08b;p=mirror%2Fuserdir-ldap-cgi.git diff --git a/Util.pm b/Util.pm index 08a5f07..8efabfb 100644 --- a/Util.pm +++ b/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); }