mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-04-29 11:03:00 +00:00
Catch on user login.
This commit is contained in:
@@ -44,6 +44,6 @@ class UserHasUsedBackupCode extends Event
|
||||
return;
|
||||
}
|
||||
|
||||
throw new InvalidArgumentException('User must be an instance of User.');
|
||||
throw new InvalidArgumentException(sprintf('User cannot be an instance of %s.', get_class($user)));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user