mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-05-04 13:16:31 +00:00
Catch on user login.
This commit is contained in:
@@ -44,6 +44,6 @@ class UserHasEnabledMFA 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