if ((isExtensionInstalled('sql_patches')) && (isConfigEntrySet('_PRIME')) && (isConfigEntrySet('secret_key')) && (isConfigEntrySet('master_salt'))) {
// Only calculate when the secret key is generated
if (strlen($passHash) != getConfig('secret_key')) {
- // Both keys must have same length
- debug_report_bug('Hash lengths do not match! (' . strlen($passHash) . '!=' . strlen(getConfig('secret_key')) . ')');
+ // Both keys must have same length so return unencrypted
+ return $ret;
} // END - if
$newHash = ''; $start = 9;