From 90cb65377c848fee26afe031e9bb911a091a5bf7 Mon Sep 17 00:00:00 2001 From: fdai5728 Date: Wed, 16 Feb 2022 17:52:04 +0100 Subject: [PATCH] Implements function for Password Update --- src/main/java/CredentialRepository.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/CredentialRepository.java b/src/main/java/CredentialRepository.java index a1837f2..58122d5 100644 --- a/src/main/java/CredentialRepository.java +++ b/src/main/java/CredentialRepository.java @@ -63,7 +63,7 @@ public class CredentialRepository implements CredentialRepositoryInterface{ public void updatePassword(int index, String newPassword) { try{ - + this.credentials.get(index).upDatePassword(newPassword); } catch (IndexOutOfBoundsException outOfBoundsException) {