Changeset 790 for trunk


Ignore:
Timestamp:
Apr 6, 2023 12:06:49 AM (13 months ago)
Author:
anonymous
Message:

Fix signing_key bug

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/App.inc.php

    r786 r790  
    429429                $this->setParam(array('db_pass' => $_SERVER['DB_PASS']));
    430430            }
    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']);
    432432
    433433            // 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--------
     
    580580            $this->setParam(array('signing_key' => $_SERVER['SIGNING_KEY']));
    581581        }
     582        unset($_SERVER['SIGNING_KEY']);
    582583
    583584        // Character set. This should also be printed in the html header template.
  • trunk/services/login.php

    r785 r790  
    3939
    4040if ($auth->isLoggedIn()) {
    41     if ($app->validBoomerangURL('login')) {
     41    if ($app->validBoomerangURL('login') && mb_stripos($app->getBoomerangURL('login'), '/login.php') === false) {
    4242        $app->dieBoomerangURL('login');
    4343    }
Note: See TracChangeset for help on using the changeset viewer.