Keep logged in after first run

This commit is contained in:
luiscuenca 2019-05-23 19:53:37 -07:00
parent 42c1f4be33
commit 050682c84c
No known key found for this signature in database
GPG key ID: 2387ECD129A6961D

View file

@ -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);