Commit af68144f authored by catch's avatar catch

Issue #2356913 by jmolivas, mgifford, maurizio.ganovelli, zhuber: Fix rebuild_token_calculator

parent 0c0c63e9
......@@ -15,11 +15,11 @@
require __DIR__ . '/../../autoload.php';
$autoloader = require __DIR__ . '/../../autoload.php';
require_once __DIR__ . '/../includes/';
$request = Request::createFromGlobals();
Settings::initialize(DRUPAL_ROOT, DrupalKernel::findSitePath($request), $autoloader);
$timestamp = time();
$token = Crypt::hmacBase64($timestamp, Settings::get('hash_salt'));
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment