mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 11:45:36 +02:00
rename the pay for assignments option
This commit is contained in:
parent
b7727f0b16
commit
98d1146e90
1 changed files with 2 additions and 2 deletions
|
@ -191,11 +191,11 @@ void DomainServer::setupNodeListAndAssignments(const QUuid& sessionUUID) {
|
|||
|
||||
bool DomainServer::optionallyLoginAndSetupAssignmentPayment() {
|
||||
// check if we have a username and password set via env
|
||||
const QString ASSIGNED_NODE_PAYMENT_OPTION = "pay-nodes";
|
||||
const QString PAY_FOR_ASSIGNMENTS_OPTION = "pay-for-assignments";
|
||||
const QString HIFI_USERNAME_ENV_KEY = "DOMAIN_SERVER_USERNAME";
|
||||
const QString HIFI_PASSWORD_ENV_KEY = "DOMAIN_SERVER_PASSWORD";
|
||||
|
||||
if (_argumentVariantMap.contains(ASSIGNED_NODE_PAYMENT_OPTION)) {
|
||||
if (_argumentVariantMap.contains(PAY_FOR_ASSIGNMENTS_OPTION)) {
|
||||
if (!_oauthProviderURL.isEmpty()) {
|
||||
|
||||
AccountManager& accountManager = AccountManager::getInstance();
|
||||
|
|
Loading…
Reference in a new issue