mirror of
https://github.com/carlrobertoh/ProxyAI.git
synced 2026-05-13 23:53:02 +00:00
fix: Skip AbstractCredentialsManager.setCredential if credential is null
This commit is contained in:
parent
01ec29c102
commit
056276d626
4 changed files with 9 additions and 10 deletions
|
|
@ -46,6 +46,9 @@ abstract class AbstractCredentialsManager {
|
|||
}
|
||||
|
||||
protected void setCredential(String key, String credential) {
|
||||
if (credential == null) {
|
||||
return;
|
||||
}
|
||||
passwordSafe.setPassword(credentialMapping.get(key), credential);
|
||||
credentialCache.put(key, credential);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue