mirror of
https://github.com/overte-org/overte.git
synced 2025-04-08 07:12:40 +02:00
use a case-insensitive search in allowed editors QStringList
This commit is contained in:
parent
61e35d7ada
commit
6d99a822a3
1 changed files with 1 additions and 1 deletions
|
@ -226,7 +226,7 @@ SharedNodePointer DomainGatekeeper::processAgentConnectRequest(const NodeConnect
|
|||
// if the allowed editors list is empty then everyone can adjust locks
|
||||
bool canAdjustLocks = allowedEditors.empty();
|
||||
|
||||
if (allowedEditors.contains(username)) {
|
||||
if (allowedEditors.contains(username, Qt::CaseInsensitive)) {
|
||||
// we have a non-empty allowed editors list - check if this user is verified to be in it
|
||||
if (!verifiedUsername) {
|
||||
if (!verifyUserSignature(username, usernameSignature, HifiSockAddr())) {
|
||||
|
|
Loading…
Reference in a new issue