mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-19 13:05:52 +00:00
bugfix: save password with host in keyring
(the same way we try to recover it)
This commit is contained in:
parent
f9f1e37655
commit
753e730906
1 changed files with 1 additions and 1 deletions
|
|
@ -133,7 +133,7 @@ def get_password(username, resource, _lock=threading.Lock()):
|
|||
if keyring is not None and \
|
||||
click.confirm('Save this password in the keyring?',
|
||||
default=False):
|
||||
keyring.set_password(password_key_prefix + resource,
|
||||
keyring.set_password(password_key_prefix + host,
|
||||
username, password)
|
||||
|
||||
return password
|
||||
|
|
|
|||
Loading…
Reference in a new issue