created WHY2_MAX_USERNAME_TRIES flag

This commit is contained in:
Václav Šmejkal 2024-01-27 22:13:00 +01:00
parent 952658b281
commit 31db7c0622
Signed by: ENGO150
GPG Key ID: 4A57E86482968843

View File

@ -37,6 +37,7 @@ extern "C" {
#define WHY2_DEFAULT_USERNAME "anon" #define WHY2_DEFAULT_USERNAME "anon"
#define WHY2_MAX_USERNAME_LENGTH 20 //MAXIMAL USERNAME LENGTH #define WHY2_MAX_USERNAME_LENGTH 20 //MAXIMAL USERNAME LENGTH
#define WHY2_MAX_USERNAME_TRIES 3 //MAXIMAL USERNAME ASK COUNT
#ifdef __cplusplus #ifdef __cplusplus
} }