Summary
LoginNotify provides a notification if an attempt is made to login to an account from an IP not recently seen with that account. This task will introduce a configuration that also prevents the login from occurring.
Background
As an emergency measure, we made need to deny login to an account if it's from an unfamiliar IP.
Technical notes
- TBD
- There should be a configuration so that this is easily toggleable. The default is "off"
Acceptance criteria
- When config is enabled, a login from an unfamiliar IP for a given account is denied
- A log message with IP and user agent is generated, noting that the login was denied