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, ]); }