fix: 修复第三方登录绑定失败的问题

This commit is contained in:
Ying
2023-08-04 11:16:42 +08:00
parent 732a385498
commit c9fd9113d6

View File

@@ -13,7 +13,6 @@ declare (strict_types=1);
namespace app\index\controller; namespace app\index\controller;
use app\common\exception\OperateException; use app\common\exception\OperateException;
use app\common\library\ResultCode;
use app\common\service\user\UserService; use app\common\service\user\UserService;
use app\common\service\user\UserTokenService; use app\common\service\user\UserTokenService;
use app\HomeController; use app\HomeController;
@@ -45,9 +44,10 @@ class Third extends HomeController
public mixed $oauth; public mixed $oauth;
/** /**
* 禁止登录重复
* @var array * @var array
*/ */
public array $repeatLogin = []; public array $repeatLogin = ['register'];
/** /**
* 初始化构造函数 * 初始化构造函数