[LON-CAPA-cvs] cvs: loncom /auth lonlogin.pm

raeburn raeburn at source.lon-capa.org
Wed Jan 23 10:26:37 EST 2013


raeburn		Wed Jan 23 15:26:37 2013 EDT

  Modified files:              
    /loncom/auth	lonlogin.pm 
  Log:
  - Default is for "Contact Helpdesk" link to be shown on log-in page. 
  
  
Index: loncom/auth/lonlogin.pm
diff -u loncom/auth/lonlogin.pm:1.153 loncom/auth/lonlogin.pm:1.154
--- loncom/auth/lonlogin.pm:1.153	Fri Jan 11 17:35:10 2013
+++ loncom/auth/lonlogin.pm	Wed Jan 23 15:26:37 2013
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Login Screen
 #
-# $Id: lonlogin.pm,v 1.153 2013/01/11 17:35:10 raeburn Exp $
+# $Id: lonlogin.pm,v 1.154 2013/01/23 15:26:37 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -636,8 +636,10 @@
     my $requestmail = 
         &Apache::loncommon::build_recipient_list(undef,'helpdeskmail',
                                                  $authdomain,$origmail);
-    if ($showhelpdesk) {
-        unless ($requestmail =~ m/[^\@]+\@[^\@]+/) {
+    unless ($showhelpdesk eq '0') {
+        if ($requestmail =~ m/[^\@]+\@[^\@]+/) {
+            $showhelpdesk = 1;
+        } else {
             $showhelpdesk = 0;
         }
     }




More information about the LON-CAPA-cvs mailing list