많은 유틸리티 함수를 Util, FileUtil, WebUtil로 이동

This commit is contained in:
2018-03-24 22:03:54 +09:00
parent b5cba27df9
commit 157ecdbf2a
36 changed files with 364 additions and 517 deletions
+3 -3
View File
@@ -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",