diff --git a/app/Repositories/UserRepository.php b/app/Repositories/UserRepository.php index 0f1558945e..abc9da0957 100644 --- a/app/Repositories/UserRepository.php +++ b/app/Repositories/UserRepository.php @@ -97,6 +97,7 @@ class UserRepository extends BaseRepository $cu->tokens()->restore(); $cu->save(); + //05-08-2022 if($cu->tokens()->count() == 0){ (new CreateCompanyToken($cu->company, $cu->user, 'restored_user'))->handle(); }