implemented custom error messages in login screen for regex fail or banned account

This commit is contained in:
Kamil
2020-12-17 12:18:04 +01:00
committed by Gent S
parent 26d0623d07
commit 140227406c
3 changed files with 63 additions and 8 deletions

View File

@@ -4,7 +4,7 @@
#include <string>
#include <vector>
#define DATABASE_VERSION 1
#define DATABASE_VERSION 2
namespace Database {
@@ -13,6 +13,7 @@ namespace Database {
std::string Password;
int Selected;
time_t BannedUntil;
std::string BanReason;
};
struct EmailData {
int PlayerId;