Skip to content
Snippets Groups Projects
Commit c65ac0a6 authored by Quentin Ribac's avatar Quentin Ribac
Browse files

FIX #18115 TIME 0:15 switch instanceId hashing algorithm from md5 to sha256

parent 0c99137c
No related branches found
No related tags found
No related merge requests found
...@@ -46,7 +46,7 @@ class AuthenticationController ...@@ -46,7 +46,7 @@ class AuthenticationController
if (!file_exists($path)) { if (!file_exists($path)) {
return $response->withStatus(403)->withJson(['errors' => 'No configuration file found']); return $response->withStatus(403)->withJson(['errors' => 'No configuration file found']);
} }
$hashedPath = md5($path); $hashedPath = hash('sha256', $path);
$appName = CoreConfigModel::getApplicationName(); $appName = CoreConfigModel::getApplicationName();
$configFile = CoreConfigModel::getJsonLoaded(['path' => 'config/config.json']); $configFile = CoreConfigModel::getJsonLoaded(['path' => 'config/config.json']);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment