Logins_Count and Last_Login Updated After Failed Login Attempt
Last Updated:
Overview
Solution
For example, if a Post-Login Action blocks a logins using api.deny.access("Denied!") this is the sequence of what is occurring:
1. The user initiates a login using the connection of their choice.
2. The user successfully authenticates. At this point no log event is recorded, although last_login and logins_count is updated.
3. Since the user successfully authenticated, Rules and Post-Login Actions are executed.
4. The Post-Login Action described above is triggered and blocks the user, returning an error.
5. Now that the entire flow has completed, a log event is recorded. In this case, it will be a type:f with description:Denied!
Related References: