Browse Source

Implements function for Password Update

feature-credentialneu
fdai5728 2 years ago
parent
commit
4a6c72ec8f
  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