From 2cb1d04677f65fc397d4210204a282c606f177ef Mon Sep 17 00:00:00 2001 From: Felix Krause Date: Fri, 9 Oct 2015 13:03:52 -0400 Subject: [PATCH] Fixed `remove_from_keychain` method caching the password --- lib/credentials_manager/account_manager.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/credentials_manager/account_manager.rb b/lib/credentials_manager/account_manager.rb index 8da6f23..ebe1b23 100644 --- a/lib/credentials_manager/account_manager.rb +++ b/lib/credentials_manager/account_manager.rb @@ -71,6 +71,7 @@ def ask_for_login def remove_from_keychain Security::InternetPassword.delete(server: server_name) + @password = nil end def server_name