|
|
@@ -101,7 +101,7 @@ void Flow2Auth::fetchNewToken(const TokenAction action)
|
|
|
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";
|
|
|
- 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."));
|
|
|
+ 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;
|
|
|
}
|
|
|
loginUrl = json["login"].toString();
|
|
|
@@ -208,7 +208,7 @@ void Flow2Auth::slotPollTimerTimeout()
|
|
|
serverUrl = json["server"].toString();
|
|
|
if (_enforceHttps && serverUrl.scheme() != QStringLiteral("https")) {
|
|
|
qCWarning(lcFlow2auth) << "Returned server url" << serverUrl << "does not start with https";
|
|
|
- emit result(Error, tr("The returned server 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."));
|
|
|
+ emit result(Error, tr("The returned server 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;
|
|
|
}
|
|
|
loginName = json["loginName"].toString();
|