[Minor] Log when clearing password for user
This commit is contained in:
parent
aa332891b7
commit
d8dda01573
|
@ -820,7 +820,10 @@ public class DefaultPrivilegeHandler implements PrivilegeHandler {
|
||||||
invalidate(certificate);
|
invalidate(certificate);
|
||||||
}
|
}
|
||||||
|
|
||||||
logger.info("Updated password for " + newUser.getUsername());
|
if (password == null)
|
||||||
|
logger.info("Cleared password for " + newUser.getUsername());
|
||||||
|
else
|
||||||
|
logger.info("Updated password for " + newUser.getUsername());
|
||||||
|
|
||||||
} finally {
|
} finally {
|
||||||
clearPassword(password);
|
clearPassword(password);
|
||||||
|
|
Loading…
Reference in New Issue