History

generate a new keypair on every interface launch

Stephen Birarda committed 12 years ago

Commit 5ecdb581 parent 7cb8cbf3 files · +4 −9Browse files

Showing the changes to interface/src/Application.cpp (1 of 3 files). Show all

Unified · Split

interface/src/Application.cpp+3−0
@@ -278,6 +278,9 @@ Application::Application(int& argc, char** argv, QElapsedTimer &startup_time) : · 277 unmodified lines
278 278
279 connect(&accountManager, &AccountManager::authRequired, Menu::getInstance(), &Menu::loginForCurrentDomain);279 connect(&accountManager, &AccountManager::authRequired, Menu::getInstance(), &Menu::loginForCurrentDomain);
280 connect(&accountManager, &AccountManager::usernameChanged, this, &Application::updateWindowTitle);280 connect(&accountManager, &AccountManager::usernameChanged, this, &Application::updateWindowTitle);
281
282 // once we have a profile in account manager make sure we generate a new keypair
283 connect(&accountManager, &AccountManager::profileChanged, &accountManager, &AccountManager::generateNewKeypair);
281 284
282 // set the account manager's root URL and trigger a login request if we don't have the access token285 // set the account manager's root URL and trigger a login request if we don't have the access token
283 accountManager.setAuthURL(DEFAULT_NODE_AUTH_URL);286 accountManager.setAuthURL(DEFAULT_NODE_AUTH_URL);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t