mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 17:14:59 +02:00
Keep logged in after first run
This commit is contained in:
parent
42c1f4be33
commit
050682c84c
1 changed files with 1 additions and 0 deletions
|
@ -9366,6 +9366,7 @@ void Application::forceDisplayName(const QString& displayName) {
|
|||
}
|
||||
void Application::forceLoginWithTokens(const QString& tokens) {
|
||||
DependencyManager::get<AccountManager>()->setAccessTokens(tokens);
|
||||
Setting::Handle<bool>(KEEP_ME_LOGGED_IN_SETTING_NAME, true).set(true);
|
||||
}
|
||||
void Application::setConfigFileURL(const QString& fileUrl) {
|
||||
DependencyManager::get<AccountManager>()->setConfigFileURL(fileUrl);
|
||||
|
|
Loading…
Reference in a new issue