Fix login form

This commit is contained in:
ayn2op 2023-01-31 13:07:10 +05:30
parent 386ebfb494
commit b652468978

View file

@ -72,7 +72,7 @@ func (lf *LoginForm) onLoginButtonSelected() {
app.SetRoot(mainFlex, true)
rememberMe := lf.GetFormItem(4).(*tview.Checkbox).IsChecked()
rememberMe := lf.GetFormItem(3).(*tview.Checkbox).IsChecked()
if rememberMe {
go keyring.Set(config.Name, "token", l.Token)
}