Block a device when exceeds the maximum of failed login attempts for an user
What does this MR do?
- Add a model
Device::LoginAttempt
to store a counter of login attempts of a device for each user. - When the counter reaches the maximum of failed login attempts established in
Settings
, it will block the device.
Related issues
Closes #10 (closed)