Changeset 790
- Timestamp:
- Apr 6, 2023 12:06:49 AM (13 months ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/App.inc.php
r786 r790 429 429 $this->setParam(array('db_pass' => $_SERVER['DB_PASS'])); 430 430 } 431 unset($_SERVER['DB_SERVER'], $_SERVER['DB_NAME'], $_SERVER['DB_USER'], $_SERVER['DB_PASS'] , $_SERVER['SIGNING_KEY']);431 unset($_SERVER['DB_SERVER'], $_SERVER['DB_NAME'], $_SERVER['DB_USER'], $_SERVER['DB_PASS']); 432 432 433 433 // DB credentials for CLI scripts stored in a JSON file with read rights given only to the user who will be executing the scripts: -r-------- … … 580 580 $this->setParam(array('signing_key' => $_SERVER['SIGNING_KEY'])); 581 581 } 582 unset($_SERVER['SIGNING_KEY']); 582 583 583 584 // Character set. This should also be printed in the html header template. -
trunk/services/login.php
r785 r790 39 39 40 40 if ($auth->isLoggedIn()) { 41 if ($app->validBoomerangURL('login') ) {41 if ($app->validBoomerangURL('login') && mb_stripos($app->getBoomerangURL('login'), '/login.php') === false) { 42 42 $app->dieBoomerangURL('login'); 43 43 }
Note: See TracChangeset
for help on using the changeset viewer.