]> andersk Git - sql-web.git/commitdiff
mako SQL interface
authorJoe Presbrey <presbrey@mit.edu>
Sun, 18 Apr 2010 12:01:02 +0000 (12:01 +0000)
committerJoe Presbrey <presbrey@mit.edu>
Sun, 18 Apr 2010 12:01:02 +0000 (12:01 +0000)
git-svn-id: svn://sql.mit.edu/sql@185 a142d4bd-2cfb-0310-9673-cb33a7e74f58

lib/security.lib.php

index 00874c29dc189eb59ff60875c0ea194433053468..eeb44a8842e1af1cdda8476d6de328955f4687c1 100644 (file)
@@ -274,7 +274,7 @@ function getSSLCert() {
         $email = trim($fu[1]);
     } else {
         $name = isset($_SERVER['SSL_CLIENT_S_DN_CN'])?$_SERVER['SSL_CLIENT_S_DN_CN']:null;
-        $email = isset($_SERVER['SSL_CLIENT_S_DN_Email'])?$_SERVER['SSL_CLIENT_S_DN_Email']:null;
+        $email = isset($_SERVER['REMOTE_USER'])?$_SERVER['REMOTE_USER']:null;
     }
     if (!is_null($email)) {
         $user = explode('@',$email);
This page took 0.029769 seconds and 5 git commands to generate.