mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-09-27 22:17:37 +02:00
Use Utils.isEmailEmpty #1329
This commit is contained in:
parent
9392291b36
commit
3d26357df6
@ -197,7 +197,7 @@ public class AsynchronousLogin implements AsynchronousProcess {
|
||||
limboService.muteMessageTask(player);
|
||||
service.send(player, MessageKey.USAGE_CAPTCHA,
|
||||
captchaManager.getCaptchaCodeOrGenerateNew(player.getName()));
|
||||
} else if (emailService.hasAllInformation() && !auth.getEmail().equals("your@email.com")) {
|
||||
} else if (emailService.hasAllInformation() && !Utils.isEmailEmpty(auth.getEmail())) {
|
||||
service.send(player, MessageKey.FORGOT_PASSWORD_MESSAGE);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user