|
|
@@ -100,7 +100,7 @@ void Flow2Auth::fetchNewToken(const TokenAction action)
|
|
|
pollToken = json.value("poll").toObject().value("token").toString();
|
|
|
pollEndpoint = json.value("poll").toObject().value("endpoint").toString();
|
|
|
if (_enforceHttps && QUrl(pollEndpoint).scheme() != QStringLiteral("https")) {
|
|
|
- qCWarning(lcFlow2auth) << "Can not poll endpoint because the returned url" << _pollEndpoint << "does not start with https";
|
|
|
+ qCWarning(lcFlow2auth) << "Can not poll endpoint because the returned url" << pollEndpoint << "does not start with https";
|
|
|
emit result(Error, tr("The polling URL does not start with HTTPS despite the login URL started with HTTPS. Login will not be possible because this might be a security issue. Please contact your administrator."));
|
|
|
return;
|
|
|
}
|