Skip to content

Commit

Permalink
clear header on verify credential irrespective of result
Browse files Browse the repository at this point in the history
  • Loading branch information
danishnafish1997 committed Mar 13, 2020
1 parent 2bc6aad commit b89dc8a
Showing 1 changed file with 1 addition and 3 deletions.
Expand Up @@ -135,9 +135,7 @@ public Boolean verifyCredentials(String hostAddress, String username, String pas
@Override
public Boolean verifyCredentials(String hostUrl, String secretText) throws URISyntaxException {
Boolean res = login(hostUrl, secretText);
if(res == Boolean.TRUE) {
clear();
}
clear();
return res;
}

Expand Down

0 comments on commit b89dc8a

Please sign in to comment.