Unexport the service constant
This commit is contained in:
parent
32254547a6
commit
11cb3539f6
1 changed files with 3 additions and 3 deletions
6
main.go
6
main.go
|
|
@ -46,7 +46,7 @@ func main() {
|
|||
AddItem(rightFlex, 0, 4, false)
|
||||
|
||||
token := conf.Token
|
||||
if t, _ := keyring.Get(Service, "token"); t != "" {
|
||||
if t, _ := keyring.Get(service, "token"); t != "" {
|
||||
token = t
|
||||
}
|
||||
|
||||
|
|
@ -109,7 +109,7 @@ func onLoginFormLoginButtonSelected() {
|
|||
panic(err)
|
||||
}
|
||||
|
||||
go keyring.Set(Service, "token", lr.Token)
|
||||
go keyring.Set(service, "token", lr.Token)
|
||||
} else if lr.MFA {
|
||||
// The account has MFA enabled, reattempt login with code and ticket.
|
||||
loginForm = newLoginForm(func() {
|
||||
|
|
@ -133,7 +133,7 @@ func onLoginFormLoginButtonSelected() {
|
|||
panic(err)
|
||||
}
|
||||
|
||||
go keyring.Set(Service, "token", lr.Token)
|
||||
go keyring.Set(service, "token", lr.Token)
|
||||
}, true)
|
||||
|
||||
app.SetRoot(loginForm, true)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue