Ignore:
Timestamp:
04/03/17 05:25:30 (7 years ago)
Author:
Daniela Dorner
Message:
adapted to change of column fValidFrom in DB
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/www/db_po/edit_po.php

    r12449 r18802  
    1212
    1313    include ("include.php");
    14     if (!isset($_SERVER['PHP_AUTH_USER']))
     14    if (!isset($_SERVER['PHP_AUTH_USER']) && !isset($_SERVER['PHP_AUTH_PW']))
    1515    {
    1616        header('WWW-Authenticate: Basic realm="Edit FACT Configuration Database"');
     
    2222        //echo "The password is not yet evaluated, but the username is inserted into the DB.<br>";
    2323        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');
    2427            return;
     28        }
    2529    }
    2630
Note: See TracChangeset for help on using the changeset viewer.