ssh kitten: Fix a bug where automatic login was not working

Fixes #9187
This commit is contained in:
Kovid Goyal 2025-11-05 19:35:36 +05:30
parent 31b8ceb49a
commit aec3c82c48
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C
2 changed files with 3 additions and 1 deletions

View file

@ -142,6 +142,8 @@ Detailed list of changes
- Add a mappable action :ac:`copy_last_command_output` to copy the output of the last
command to the clipboard (:pull:`9185`)
- ssh kitten: Fix a bug where automatic login was not working (:iss:`9187`)
0.44.0 [2025-11-03]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

View file

@ -52,7 +52,7 @@ func resolve_secrets(c *Config, only_syntax bool) error {
if r, err := resolve_secret("totp_secret", c.Totp_secret); err != nil {
return err
} else {
c.Password = r
c.Totp_secret = r
}
return nil
}