correct returned OAuth redirect URL

This commit is contained in:
Stephen Birarda 2016-03-21 15:26:26 -07:00
parent 7f3761481c
commit 078872a6db

View file

@ -680,7 +680,7 @@ unsigned int DomainServer::countConnectedUsers() {
QUrl DomainServer::oauthRedirectURL() {
if (_httpsManager) {
return QString("http://%1:%2/oauth").arg(_hostname).arg(_httpsManager->serverPort());
return QString("https://%1:%2/oauth").arg(_hostname).arg(_httpsManager->serverPort());
} else {
qWarning() << "Attempting to determine OAuth re-direct URL with no HTTPS server configured.";
return QUrl();