feat: API에서 민감한 argument 지정

This commit is contained in:
Hide_D committed 2022-11-05 14:59:52 +09:00
1 parent 30d99c6fc3
commit e93d9e6cf5
3 files changed
+15

No files matched your search

+2
View File
@@ -15,6 +15,8 @@ use sammo\Validator;
class LoginByID extends \sammo\BaseAPI
{
static array $sensitiveArgs = ['password'];
public function validateArgs(): ?string
{
$v = new Validator($this->args);