mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-05-30 00:15:35 +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
|
// if the allowed editors list is empty then everyone can adjust locks
|
||||||
bool canAdjustLocks = allowedEditors.empty();
|
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
|
// we have a non-empty allowed editors list - check if this user is verified to be in it
|
||||||
if (!verifiedUsername) {
|
if (!verifiedUsername) {
|
||||||
if (!verifyUserSignature(username, usernameSignature, HifiSockAddr())) {
|
if (!verifyUserSignature(username, usernameSignature, HifiSockAddr())) {
|
||||||
|
|
Loading…
Reference in a new issue