Changeset 18802 for trunk/www/db_po/edit_po.php
- Timestamp:
- 04/03/17 05:25:30 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/www/db_po/edit_po.php
r12449 r18802 12 12 13 13 include ("include.php"); 14 if (!isset($_SERVER['PHP_AUTH_USER']) )14 if (!isset($_SERVER['PHP_AUTH_USER']) && !isset($_SERVER['PHP_AUTH_PW'])) 15 15 { 16 16 header('WWW-Authenticate: Basic realm="Edit FACT Configuration Database"'); … … 22 22 //echo "The password is not yet evaluated, but the username is inserted into the DB.<br>"; 23 23 if (!CheckUsernameAndPassword($_SERVER['PHP_AUTH_USER'], $_SERVER['PHP_AUTH_PW'], GetLDAPOptions())) 24 { 25 header('WWW-Authenticate: Basic realm="Edit FACT Configuration Database"'); 26 header('HTTP/1.0 401 Unauthorized'); 24 27 return; 28 } 25 29 } 26 30
Note:
See TracChangeset
for help on using the changeset viewer.