Skip to content

Commit ea031b7

Browse files
committed
fix(config): inconsistent naming
1 parent ca8e13a commit ea031b7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

internal/api/credentials.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ auth_method = 'plaintext' # Options: 'plaintext', 'hashed', 'api_key'
77
password = ''
88

99
# Required if auth_method = 'hashed'
10-
password_hash = ''
10+
password_token = ''
1111
password_salt = ''
1212

1313
# Required if auth_method = 'api_key'

internal/ui/update_messages.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ func (m model) handleLoginResult(msg loginResultMsg) (tea.Model, tea.Cmd) {
187187
m.loginInputs[3].EchoMode = textinput.EchoNormal
188188
m.loginInputs[3].SetValue(api.AppServerConfig.Server.PasswordSalt)
189189

190-
case "apikey":
190+
case "api_key":
191191
m.loginType = 2
192192
m.loginInputs[1].Prompt = "Username: "
193193
m.loginInputs[1].Placeholder = "username"

0 commit comments

Comments
 (0)