adamsaghy commented on code in PR #5443:
URL: https://github.com/apache/fineract/pull/5443#discussion_r2816767902
##########
fineract-core/src/main/java/org/apache/fineract/useradministration/domain/AppUser.java:
##########
@@ -86,6 +86,10 @@ public class AppUser extends AbstractPersistableCustom<Long>
implements Platform
@Column(name = "nonlocked", nullable = false)
private boolean accountNonLocked;
+ @Getter
+ @Column(name = "failed_login_attempts", nullable = false)
+ private int failedLoginAttempts;
Review Comment:
Please make sure to introduce a new flag which controls whether this
functionality is allowed on a particular account or not.
For example, the `system` account should NEVER be locked! Probably same
applies to accounts which are used for API communication!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]