fix:修复会员的权限不是所有时,修改邮箱提示没有权限的问题

This commit is contained in:
妙码生花 2024-07-11 15:57:02 +08:00
parent 70799e3efc
commit 3324795482

View File

@ -18,6 +18,8 @@ class Account extends Frontend
{ {
protected array $noNeedLogin = ['retrievePassword']; protected array $noNeedLogin = ['retrievePassword'];
protected array $noNeedPermission = ['verification', 'changeBind'];
public function initialize(): void public function initialize(): void
{ {
parent::initialize(); parent::initialize();