diff --git a/vdirsyncer/utils/__init__.py b/vdirsyncer/utils/__init__.py index 09a2391..0dd09cb 100644 --- a/vdirsyncer/utils/__init__.py +++ b/vdirsyncer/utils/__init__.py @@ -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