mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 13:38:02 +02:00
Add loginFailed signal to AccountManager
This commit is contained in:
parent
9bf3b3c6bf
commit
cbd5fbe9b3
2 changed files with 2 additions and 0 deletions
|
@ -334,6 +334,7 @@ void AccountManager::requestFinished() {
|
||||||
} else {
|
} else {
|
||||||
// TODO: error handling
|
// TODO: error handling
|
||||||
qDebug() << "Error in response for password grant -" << rootObject["error_description"].toString();
|
qDebug() << "Error in response for password grant -" << rootObject["error_description"].toString();
|
||||||
|
emit loginFailed();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -71,6 +71,7 @@ signals:
|
||||||
void usernameChanged(const QString& username);
|
void usernameChanged(const QString& username);
|
||||||
void accessTokenChanged();
|
void accessTokenChanged();
|
||||||
void loginComplete(const QUrl& authURL);
|
void loginComplete(const QUrl& authURL);
|
||||||
|
void loginFailed();
|
||||||
void logoutComplete();
|
void logoutComplete();
|
||||||
private slots:
|
private slots:
|
||||||
void processReply();
|
void processReply();
|
||||||
|
|
Loading…
Reference in a new issue