取消 /cp 指令的邮箱验证

This commit is contained in:
Sattera
2023-03-28 08:59:03 +08:00
parent d33f838f3a
commit 0e1e65c7f7
3 changed files with 10 additions and 17 deletions
@@ -43,13 +43,6 @@ public class ChangePasswordCommand extends PlayerCommand {
return;
}
// Check if the user has been verified or not
if (codeManager.isVerificationRequired(player)) {
codeManager.codeExistOrGenerateNew(name);
commonService.send(player, MessageKey.VERIFICATION_CODE_REQUIRED);
return;
}
String oldPassword = arguments.get(0);
String newPassword = arguments.get(1);