mirror of
https://github.com/martinrotter/rssguard.git
synced 2025-01-28 08:09:42 +01:00
Throw error if oauth listener does not start.
This commit is contained in:
parent
cddfe06ecd
commit
c1ba3c7bbf
@ -266,6 +266,11 @@ bool OAuth2Service::login() {
|
||||
if (!m_redirectionHandler->isListening()) {
|
||||
qCriticalNN << LOGSEC_OAUTH
|
||||
<< "Cannot log-in because OAuth redirection handler is not listening.";
|
||||
|
||||
emit tokensRetrieveError(QString(), tr("Failed to starting OAuth "
|
||||
"redirection listener. Maybe your "
|
||||
"rights are not high enough."));
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user