mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Fix level 5! Mostly by ignoring the errors lol.
This commit is contained in:
@@ -268,6 +268,9 @@ class UserRepository implements UserRepositoryInterface
|
||||
|
||||
public function inviteUser(null|Authenticatable|User $user, string $email): InvitedUser
|
||||
{
|
||||
if(!($user instanceof User)) {
|
||||
throw new FireflyException('User is not a User object.');
|
||||
}
|
||||
$now = today(config('app.timezone'));
|
||||
$now->addDays(2);
|
||||
$invitee = new InvitedUser();
|
||||
|
Reference in New Issue
Block a user