Fix missing nameExists and mailExists (#1854)

This commit is contained in:
Luffy 2025-02-03 10:47:29 +08:00 committed by GitHub
parent 95f6e7b4f5
commit 752fc6b0ad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -8,6 +8,7 @@ use Typecho\Db\Exception;
use Typecho\Validate;
use Utils\PasswordHash;
use Widget\Base\Users;
use Widget\Users\EditTrait;
if (!defined('__TYPECHO_ROOT_DIR__')) {
exit;
@ -22,6 +23,8 @@ if (!defined('__TYPECHO_ROOT_DIR__')) {
*/
class Register extends Users implements ActionInterface
{
use EditTrait;
/**
* 初始化函数
*