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