#1474 Don't log /email changepassword command (exposes password)

This commit is contained in:
ljacqu
2018-01-21 19:06:51 +01:00
parent 761ee2f05b
commit 847991b658
2 changed files with 3 additions and 2 deletions
@@ -28,7 +28,8 @@ public class LogFilterHelperTest {
// given
List<CommandDescription> sensitiveCommands = Arrays.asList(
getCommand("register"), getCommand("login"), getCommand("changepassword"), getCommand("unregister"),
getCommand("authme", "register"), getCommand("authme", "changepassword")
getCommand("authme", "register"), getCommand("authme", "changepassword"),
getCommand("email", "setpassword")
);
// Build array with entries like "/register ", "/authme cp ", "/authme changepass "
String[] expectedEntries = sensitiveCommands.stream()