From 9f1d910b9d8159de33689f026e1249e7f41a8cc2 Mon Sep 17 00:00:00 2001 From: tausq <> Date: Thu, 9 Dec 1999 01:50:00 +0000 Subject: [PATCH] fixed silly typos --- Util.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 _ -- 2.20.1