|
ORE Studio 0.0.4
|
Represents login tracking and security information for an account. More...
#include <login_info.hpp>

Public Attributes | |
| std::chrono::system_clock::time_point | last_login |
| Timestamp of the last successful login. | |
| boost::uuids::uuid | account_id |
| Foreign key referencing the associated account. | |
| int | failed_logins = 0 |
| Count of consecutive failed login attempts since last successful login. | |
| bool | locked = false |
| Flag indicating whether the account is locked due to security concerns. | |
| bool | online = false |
| Flag indicating whether the user is currently logged in. | |
| bool | password_reset_required = false |
| Flag indicating whether the user must change their password on next login. | |
| boost::asio::ip::address | last_ip |
| IP address from the last successful login. | |
| boost::asio::ip::address | last_attempt_ip |
| IP address from the most recent login attempt (successful or failed). | |
Represents login tracking and security information for an account.
| bool password_reset_required = false |
Flag indicating whether the user must change their password on next login.
Set by an admin when resetting a user's password. Cleared after the user successfully sets a new password.