1
0
Fork 0
mirror of https://github.com/nishiki/manage-password.git synced 2025-02-20 01:50:04 +00:00

fix add_key

This commit is contained in:
Adrien Waksberg 2017-02-26 22:07:18 +01:00
parent 89abfac512
commit da81f34e07

View file

@ -206,7 +206,7 @@ class MPW
end
@keys[key] = data
@password.each_keys { |id| set_password(id, get_password(id)) }
@passwords.each_keys { |id| set_password(id, get_password(id)) }
@otp_keys.each_keys { |id| set_otp_key(id, get_otp_key(id)) }
end