Skip to content

Commit

Permalink
specified parameter new_enc_passwd= in update_passwd() method
Browse files Browse the repository at this point in the history
  • Loading branch information
Equat-ion committed Jan 21, 2025
1 parent 49ee89a commit 51aef54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/core_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def view_passwd(self):

def update_passwd(self, service, userid, new_password):
encrypted_passwd = self.encryption.encrypt(new_password)
self.database.update_password(service, userid, encrypted_passwd)
self.database.update_password(service, userid, new_enc_passwd=encrypted_passwd)

print(f"Password for {service} updated successfully!")

Expand Down

0 comments on commit 51aef54

Please sign in to comment.