--- loncom/build/weblayer_test/test_login.pl 2002/05/04 03:57:06 1.2 +++ loncom/build/weblayer_test/test_login.pl 2003/06/30 17:35:13 1.4 @@ -11,7 +11,7 @@ B - Attempt to login give # The LearningOnline Network # test_login.pl - LON TCP-MySQL-Server Daemon for handling database requests. # -# $Id: test_login.pl,v 1.2 2002/05/04 03:57:06 harris41 Exp $ +# $Id: test_login.pl,v 1.4 2003/06/30 17:35:13 albertel Exp $ # # This file is part of the LearningOnline Network with CAPA (LON-CAPA). # @@ -34,7 +34,6 @@ B - Attempt to login give # http://www.lon-capa.org/ # # YEAR=2002 -# 3/3 Scott Harrison # ### @@ -116,15 +115,15 @@ unless ($response->is_success) { my $content=$response->content; my $logtoken; -if ($content=~/logtoken value=\"([^\"]*)\"/) { +if ($content=~/logtoken\" value=\"([^\"]*)\"/) { $logtoken=$1; } my $udom; -if ($content=~/input type=\"text\" name=\"udom\".*value\=(\S+)/) { +if ($content=~/input type=\"text\" name=\"udom\".*value\=\"(\S+)\"/) { $udom=$1; } my $serverid; -if ($content=~/name\=serverid value\=\"([^\"]+)\"/) { +if ($content=~/name\=\"serverid\" value\=\"([^\"]+)\"/) { $serverid=$1; } my $lextkey; @@ -211,6 +210,5 @@ Crypt::DES =head1 AUTHOR -Scott Harrison, harris41@msu.edu =cut