[prev in list] [next in list] [prev in thread] [next in thread]
List: lon-capa-cvs
Subject: [LON-CAPA-cvs] cvs: loncom /auth lonauth.pm
From: raeburn via LON-CAPA-cvs <lon-capa-cvs () mail ! lon-capa ! org>
Date: 2020-10-15 3:09:40
Message-ID: cvsraeburn1602731380 () cvsserver
[Download RAW message or body]
raeburn Thu Oct 15 03:09:40 2020 EDT
Modified files:
/loncom/auth lonauth.pm
Log:
- Send HTTP header when displaying "no server available to host" page.
Index: loncom/auth/lonauth.pm
diff -u loncom/auth/lonauth.pm:1.159 loncom/auth/lonauth.pm:1.160
--- loncom/auth/lonauth.pm:1.159 Sun Mar 15 23:04:10 2020
+++ loncom/auth/lonauth.pm Thu Oct 15 03:09:40 2020
@@ -1,7 +1,7 @@
# The LearningOnline Network
# User Authentication Module
#
-# $Id: lonauth.pm,v 1.159 2020/03/15 23:04:10 raeburn Exp $
+# $Id: lonauth.pm,v 1.160 2020/10/15 03:09:40 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -686,6 +686,8 @@
}
$r->internal_redirect($switchto);
} else {
+ &Apache::loncommon::content_type($r,'text/html');
+ $r->send_http_header;
$r->print(&noswitch());
}
return OK;
@@ -716,6 +718,8 @@
}
$r->internal_redirect($switchto);
} else {
+ &Apache::loncommon::content_type($r,'text/html');
+ $r->send_http_header;
$r->print(&noswitch());
}
return OK;
_______________________________________________
LON-CAPA-cvs mailing list
LON-CAPA-cvs@mail.lon-capa.org
http://mail.lon-capa.org/mailman/listinfo/lon-capa-cvs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic