Update security.php

This commit is contained in:
Namhyeon Go 2018-02-12 19:48:41 +09:00 committed by GitHub
parent 6af6fd98ce
commit 3ff3afaee8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -124,14 +124,13 @@ if(!function_exists("process_safe_login")) {
} else {
$ss_key = make_random_id(10);
//
set_session("ss_user_name", $user_name);
set_session("ss_key", $ss_key);
//if(check_match_password($hashed_password, $user_password) {
if(true) {
set_session("ss_user_name", $user_name);
set_session("ss_key", $ss_key);
$flag = store_login_session($ss_key, $config);
$flag = store_login_session($ss_key, $config);
}
}
return $flag;