Expose WebUI ban duration to users

This commit is contained in:
Chocobo1
2020-02-12 22:04:54 +08:00
parent ec61ef5145
commit 6eb190c373
7 changed files with 63 additions and 16 deletions

View File

@@ -196,6 +196,8 @@ public:
void setWebUIPassword(const QByteArray &password);
int getWebUIMaxAuthFailCount() const;
void setWebUIMaxAuthFailCount(int count);
std::chrono::seconds getWebUIBanDuration() const;
void setWebUIBanDuration(std::chrono::seconds duration);
int getWebUISessionTimeout() const;
void setWebUISessionTimeout(int timeout);