summaryrefslogtreecommitdiffstats
path: root/src/nam.cpp
diff options
context:
space:
mode:
authorSimon Rettberg2024-06-25 11:40:36 +0200
committerSimon Rettberg2024-06-25 11:40:36 +0200
commit2ea077382d0500a6554018539a985e0eaf32a92a (patch)
tree9f76201947dafed4ed4ca15a2f73960e9c593774 /src/nam.cpp
parentAdd allowed-shibboleth-domains config option to inject in website (diff)
downloadslxgreeter-2ea077382d0500a6554018539a985e0eaf32a92a.tar.gz
slxgreeter-2ea077382d0500a6554018539a985e0eaf32a92a.tar.xz
slxgreeter-2ea077382d0500a6554018539a985e0eaf32a92a.zip
Make shibboleth whitelist a folder which can contain multiple files
This way we can allow the user the create and specify multiple config modules for shibboleth at once.
Diffstat (limited to 'src/nam.cpp')
-rw-r--r--src/nam.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nam.cpp b/src/nam.cpp
index 6128c40..b244505 100644
--- a/src/nam.cpp
+++ b/src/nam.cpp
@@ -49,6 +49,6 @@ QNetworkReply* SlxNetworkAccessManager::createRequest(QNetworkAccessManager::Ope
return new SlxDisabledNetworkReply(this, req, op);
}
auto cp(req);
- cp.setAttribute(QNetworkRequest::HTTP2AllowedAttribute, QVariant(false));
+ cp.setAttribute(QNetworkRequest::Http2AllowedAttribute, QVariant(false));
return QNetworkAccessManager::createRequest(op, cp, outgoingData);
}