Fix internal event for ON_LEAVE
This commit is contained in:
parent
cbb7d6e274
commit
bd85a04530
@ -462,7 +462,7 @@ class UserService extends Service
|
||||
$user->state = UserState::ON_LEAVE;
|
||||
$user->save();
|
||||
|
||||
event(new UserStateChanged($user, UserState::ACTIVE));
|
||||
event(new UserStateChanged($user, UserState::ON_LEAVE));
|
||||
|
||||
$user->refresh();
|
||||
return $user;
|
||||
|
Loading…
Reference in New Issue
Block a user