mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
Fixes for users
This commit is contained in:
parent
96191ff1f1
commit
5cd8307686
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user