많은 유틸리티 함수를 Util, FileUtil, WebUtil로 이동
This commit is contained in:
@@ -71,10 +71,10 @@ if(!$isUser){
|
||||
]);
|
||||
}
|
||||
|
||||
$newPassword = random_str(6);
|
||||
$tmpPassword = hashPassword(getGlobalSalt(), $newPassword);
|
||||
$newPassword = Util::randomStr(6);
|
||||
$tmpPassword = Util::hashPassword(getGlobalSalt(), $newPassword);
|
||||
$newSalt = bin2hex(random_bytes(8));
|
||||
$newFinalPassword = hashPassword($newSalt, $tmpPassword);
|
||||
$newFinalPassword = Util::hashPassword($newSalt, $tmpPassword);
|
||||
|
||||
$sendResult = $restAPI->talk_to_me_default([
|
||||
"object_type"=> "text",
|
||||
|
||||
@@ -80,7 +80,7 @@ if($nicknameChk !== true){
|
||||
}
|
||||
|
||||
$userSalt = bin2hex(random_bytes(8));
|
||||
$finalPassword = hashPassword($userSalt, $password);
|
||||
$finalPassword = Util::hashPassword($userSalt, $password);
|
||||
|
||||
//클라이언트 단에서 보내준 데이터 준비가 끝났다.
|
||||
$restAPI = new Kakao_REST_API_Helper($access_token);
|
||||
|
||||
Reference in New Issue
Block a user