Browse Source

Implements function for Password Update

feature-serializer
fdai5728 3 years ago
committed by fdai6352
parent
commit
90cb65377c
  1. 2
      src/main/java/CredentialRepository.java

2
src/main/java/CredentialRepository.java

@ -63,7 +63,7 @@ public class CredentialRepository implements CredentialRepositoryInterface{
public void updatePassword(int index, String newPassword) { public void updatePassword(int index, String newPassword) {
try{ try{
this.credentials.get(index).upDatePassword(newPassword);
} }
catch (IndexOutOfBoundsException outOfBoundsException) catch (IndexOutOfBoundsException outOfBoundsException)
{ {

Loading…
Cancel
Save