Make name checking case insensitive.

Co-authored-by: kamilprzyb <kamilprzybspam@wp.pl>
This commit is contained in:
darkredtitan
2020-09-09 14:36:35 +02:00
committed by dongresource
parent 3d83f93167
commit 480cca82fa
3 changed files with 28 additions and 12 deletions

View File

@@ -33,6 +33,7 @@ private:
static bool isLoginDataGood(std::string login, std::string password);
static bool isPasswordCorrect(std::string actualPassword, std::string tryPassword);
static bool isAccountInUse(int accountId);
static bool isCharacterNameGood(std::string Firstname, std::string Lastname);
//returns true if success
static bool exitDuplicate(int accountId);
public: