mirror of
https://github.com/vcmi/vcmi.git
synced 2025-09-16 09:26:28 +02:00
Do not allow creation of accounts with same name and different case
This commit is contained in:
@@ -288,7 +288,7 @@ void LobbyDatabase::prepareStatements()
|
||||
isAccountNameExistsStatement = database->prepare(R"(
|
||||
SELECT COUNT(displayName)
|
||||
FROM accounts
|
||||
WHERE displayName = ?
|
||||
WHERE displayName = ? COLLATE NOCASE
|
||||
)");
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user