refactor: use keyringServiceName constant

This commit is contained in:
ayntgl 2022-03-05 22:02:06 +04:00
parent 352a872841
commit b2d67eeacc

View file

@ -51,7 +51,7 @@ func main() {
app.DrawMainFlex()
app.SetFocus(app.GuildsList)
go keyring.Set("discordo", "token", lr.Token)
go keyring.Set(keyringServiceName, "token", lr.Token)
} else {
// The account has MFA enabled, reattempt login with MFA code and ticket.
mfaLoginForm := ui.NewLoginForm(true)