Skip to Content.
Sympa Menu

comanage-dev - [comanage-dev] r496 - registry/trunk/app/webroot/auth/login

Subject: COmanage Developers List

List archive

[comanage-dev] r496 - registry/trunk/app/webroot/auth/login


Chronological Thread 
  • From:
  • To:
  • Subject: [comanage-dev] r496 - registry/trunk/app/webroot/auth/login
  • Date: Sun, 14 Apr 2013 11:59:48 -0400
  • Authentication-results: sfpop-ironport04.merit.edu; dkim=neutral (message not signed) header.i=none

Author: benno
Date: 2013-04-14 11:59:48 -0400 (Sun, 14 Apr 2013)
New Revision: 496

Modified:
registry/trunk/app/webroot/auth/login/index.php
Log:
Throw error on empty $REMOTE_USER (CO-596)

Modified: registry/trunk/app/webroot/auth/login/index.php
===================================================================
--- registry/trunk/app/webroot/auth/login/index.php 2013-04-13 03:05:55
UTC (rev 495)
+++ registry/trunk/app/webroot/auth/login/index.php 2013-04-14 15:59:48
UTC (rev 496)
@@ -33,6 +33,11 @@

// Set the user

+if(empty($_SERVER['REMOTE_USER'])) {
+ print "ERROR: REMOTE_USER is empty. Please check your
configuration.";
+ exit;
+}
+
$_SESSION['Auth']['external']['user'] = $_SERVER['REMOTE_USER'];

header("Location: " . "/registry/users/login");



  • [comanage-dev] r496 - registry/trunk/app/webroot/auth/login, svnlog, 04/14/2013

Archive powered by MHonArc 2.6.16.

Top of Page