From d82431cdbec254649f7c323c02a5c8d892dc854b Mon Sep 17 00:00:00 2001 From: vine_liutk <961510893@qq.com> Date: Fri, 7 Jan 2022 13:41:36 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=90=AF=E7=94=A8=E7=94=A8?= =?UTF-8?q?=E6=88=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Models/User.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/User.php b/app/Models/User.php index aa31785d..aa287fc7 100644 --- a/app/Models/User.php +++ b/app/Models/User.php @@ -296,7 +296,7 @@ class User extends Model implements AuthorizableContract, AuthenticatableContrac { if ($this->status !== static::STATUS_ACTIVE) { return $this->update([ - 'status' => static::STATUS_DISABLED, + 'status' => static::STATUS_ACTIVE, 'status_remark' => null, ]); }