Reinstate TODOs

This commit is contained in:
David Rowe 2020-07-31 15:20:13 +12:00
parent 856e1f1ca3
commit 6b28f3ea0d
2 changed files with 8 additions and 0 deletions

View file

@ -144,6 +144,11 @@ void DialogsManager::showDomainLoginDialog() {
LoginDialog::showWithSelection();
}
// #######: TODO: Domain version of toggleLoginDialog()?
// #######: TODO: Domain version of hiadLoginDialog()?
void DialogsManager::showUpdateDialog() {
UpdateDialog::show();
}

View file

@ -146,6 +146,9 @@ void LoginDialog::login(const QString& username, const QString& password) const
void LoginDialog::loginDomain(const QString& username, const QString& password, const QString& domainAuthProvider) const {
qDebug() << "Attempting to login" << username << "into a domain through" << domainAuthProvider;
DependencyManager::get<DomainAccountManager>()->requestAccessToken(username, password, domainAuthProvider);
// ####### TODO: It may not be necessary to pass domainAuthProvider to the login dialog and through to here because it was
// originally provided to the QML from C++.
}
void LoginDialog::loginThroughOculus() {