From: tausq <> Date: Thu, 9 Dec 1999 01:50:00 +0000 (+0000) Subject: fixed silly typos X-Git-Tag: release-0.3.33~147 X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fuserdir-ldap-cgi.git;a=commitdiff_plain;h=9f1d910b9d8159de33689f026e1249e7f41a8cc2 fixed silly typos --- diff --git a/Util.pm b/Util.pm index d7ba4a7..96ad4cd 100644 --- a/Util.pm +++ b/Util.pm @@ -5,7 +5,7 @@ use strict; my $blocksize = 8; # A blowfish block is 8 bytes my $configfile = "/etc/userdir-ldap/userdir-ldap.conf"; -#my $configfile = "/home/randolph/projects/userdir-ldap/userdir-ldap.conf"; +#my $configfile = "/home/randolph/html/debian/perl/userdir-ldap.conf"; my %config = &ReadConfigFile; @@ -134,13 +134,13 @@ sub CheckAuthToken { } sub ClearAuthToken { - my ($id, $hrkey) = split(/:/, shift, 2); + my ($id, $hrkey) = split(/,/, shift, 2); $id =~ y/\//_/; # switch / to _ unlink "$config{authtokenpath}/$id" || &HTMLError("Error removing authtoken: $!"); } sub UpdateAuthToken { - my ($id, $hrkey) = split(/:/, shift, 2); + my ($id, $hrkey) = split(/,/, shift, 2); my $password = shift; my $key = pack("H".(length($hrkey)), $hrkey); $id =~ y/\//_/; # switch / to _