manager/includes/functions/processors.php 1 location
|
@@ 314-316 (lines=3) @@
|
311 |
|
|
312 |
|
$user_algo = $modx->getManagerApi()->getV1UserHashAlgorithm($internalKey); |
313 |
|
|
314 |
|
if (!isset($modx->config['pwd_hash_algo']) || empty($modx->config['pwd_hash_algo'])) { |
315 |
|
$modx->config['pwd_hash_algo'] = 'UNCRYPT'; |
316 |
|
} |
317 |
|
|
318 |
|
if ($user_algo !== $modx->config['pwd_hash_algo']) { |
319 |
|
$bk_pwd_hash_algo = $modx->config['pwd_hash_algo']; |
manager/includes/src/Legacy/ManagerApi.php 1 location
|
@@ 143-145 (lines=3) @@
|
140 |
|
{ // $seed is user_id basically |
141 |
|
$modx = evolutionCMS(); |
142 |
|
|
143 |
|
if (isset($modx->config['pwd_hash_algo']) && !empty($modx->config['pwd_hash_algo'])) { |
144 |
|
$algorithm = $modx->config['pwd_hash_algo']; |
145 |
|
} else { |
146 |
|
$algorithm = 'UNCRYPT'; |
147 |
|
} |
148 |
|
|