Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[resolver] Only use credentials on registered devices
  • Loading branch information
Bernd Wachter committed Apr 25, 2013
1 parent 1dc63f2 commit bd4a2b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ssuurlresolver/ssuurlresolver.cpp
Expand Up @@ -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));
Expand Down

0 comments on commit bd4a2b7

Please sign in to comment.