Commit bd4a2b73 authored by Aard's avatar Aard

[resolver] Only use credentials on registered devices

parent 1dc63f2e
......@@ -111,7 +111,7 @@ void SsuUrlResolver::run(){
resolvedUrl = ssu.repoUrl(repo, isRnd, repoParameters);
// only do credentials magic on secure connections
if (resolvedUrl.startsWith("https://")){
if (resolvedUrl.startsWith("https://") && ssu.isRegistered()){
// TODO: check for credentials scope required for repository; check if the file exists;
// compare with configuration, and dump credentials to file if necessary
ssuLog->print(LOG_DEBUG, QString("Requesting credentials for '%1' with RND status %2...").arg(repo).arg(isRnd));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment