浏览代码

Update Driver.php

Visman 2 年之前
父节点
当前提交
7a5c871a43
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      app/Models/Provider/Driver.php

+ 1 - 0
app/Models/Provider/Driver.php

@@ -122,6 +122,7 @@ abstract class Driver extends Model
      */
      */
     public function verifyAuth(array $data): bool
     public function verifyAuth(array $data): bool
     {
     {
+        $data       = $this->c->Secury->replInvalidChars($data);
         $this->code = '';
         $this->code = '';
 
 
         if (! \is_string($data['code'] ?? null)) {
         if (! \is_string($data['code'] ?? null)) {