UI: Fix AuthListener error HTTP response body

master
derrod 2021-09-16 15:03:28 +02:00
parent 37ab69aa46
commit 8c9bb3a84b
1 changed files with 2 additions and 1 deletions

View File

@ -95,7 +95,8 @@ void AuthListener::NewConnection()
}
if (code.isEmpty()) {
auto data = QTStr("YouTube.Auth.NoCode");
auto data = responseTemplate.arg(
QTStr("YouTube.Auth.NoCode"));
socket->write(QT_TO_UTF8(data));
emit fail();
} else {