[LON-CAPA-cvs] cvs: loncom /interface createaccount.pm
raeburn
raeburn@source.lon-capa.org
Thu, 12 Mar 2009 13:59:49 -0000
raeburn Thu Mar 12 13:59:49 2009 EDT
Modified files:
/loncom/interface createaccount.pm
Log:
- account creation process should not be interrupted by creation of a publicuser_N handle
when the user accesses a help file.
Index: loncom/interface/createaccount.pm
diff -u loncom/interface/createaccount.pm:1.29 loncom/interface/createaccount.pm:1.30
--- loncom/interface/createaccount.pm:1.29 Thu Mar 12 13:41:11 2009
+++ loncom/interface/createaccount.pm Thu Mar 12 13:59:49 2009
@@ -3,7 +3,7 @@
# institutional log-in ID (institutional authentication required - localauth
# or kerberos) or an e-mail address.
#
-# $Id: createaccount.pm,v 1.29 2009/03/12 13:41:11 bisitz Exp $
+# $Id: createaccount.pm,v 1.30 2009/03/12 13:59:49 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -86,7 +86,7 @@
my $start_page;
my $handle = &Apache::lonnet::check_for_valid_session($r);
- if ($handle ne '') {
+ if (($handle ne '') && ($handle !~ /^publicuser_\d+$/)) {
$start_page =
&Apache::loncommon::start_page('Already logged in');
my $end_page =