If no authToken is stored in settings but email and password are on startup the log_in route is triggered to receive a new token. This token will be used to access a protected API.
This commit is contained in:
@ -572,4 +572,5 @@ void MainWindow::initServerConnection() {
|
||||
&GenericCore::onCreateOnlineAccountTriggered);
|
||||
connect(m_editItemDialog.get(), &EditItemDialog::sendInviteMailTriggered, m_core.get(),
|
||||
&GenericCore::onSendInviteMailTriggered);
|
||||
emit m_core->loginAndStoreAuthToken();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user