Update security.php

This commit is contained in:
Namhyeon Go 2019-05-11 15:27:08 +09:00 committed by GitHub
parent d0f4dca65f
commit 02ddd9bc1e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -256,7 +256,7 @@ if(!check_function_exists("get_salt")) {
$salt = "";
$config = get_config();
if(!array_key_equals("saltenable", $config, 1)) {
if(!array_key_equals("saltdisabled", $config, 1)) {
$salt = get_value_in_array("salt", $config, make_random_id(16));
}