Cookie auth now autogenerates blowfish_secret, but it has some limitations and you still should set it in config file
This commit is contained in:
8
main.php
8
main.php
@@ -283,6 +283,14 @@ if (! @extension_loaded('mbstring')) {
|
||||
trigger_error($strMbExtensionMissing, E_USER_WARNING);
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if user does not have defined blowfish secret and it is being used.
|
||||
*/
|
||||
if (!empty($_SESSION['auto_blowfish_secret']) &&
|
||||
empty($GLOBALS['cfg']['blowfish_secret'])) {
|
||||
trigger_error($strSecretRequired, E_USER_WARNING);
|
||||
}
|
||||
|
||||
/**
|
||||
* Warning about different MySQL library and server version
|
||||
* (a difference on the third digit does not count).
|
||||
|
Reference in New Issue
Block a user