mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-04 19:53:44 +00:00
Clarify + warning
This commit is contained in:
@@ -168,7 +168,7 @@ class UserEventHandler
|
||||
$preference = array_values($preference);
|
||||
app('preferences')->setForUser($user, 'login_ip_history', $preference);
|
||||
|
||||
if (false === $inArray) {
|
||||
if (false === $inArray && true === config('firefly.warn_new_ip')) {
|
||||
event(new DetectedNewIPAddress($user, $ip));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user