调整启用用户
parent
6067fe5e9e
commit
d82431cdbe
|
|
@ -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,
|
||||
]);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue