mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-10-16 23:35:02 +02:00
Recall email at login if RecallEmail is active.
For somewhat reason email recalls didn't start from login and every 5 minutes.
This commit is contained in:
parent
6b70f32afb
commit
6d1e75a731
@ -151,6 +151,14 @@ public class AsyncronousLogin {
|
|||||||
|
|
||||||
displayOtherAccounts(auth, player);
|
displayOtherAccounts(auth, player);
|
||||||
|
|
||||||
|
if (Settings.recallEmail) {
|
||||||
|
String name = player.getName().toLowerCase();
|
||||||
|
String email = database.getAuth(name).getEmail();
|
||||||
|
if (email == null || email.isEmpty() || email.equalsIgnoreCase("your@email.com"))
|
||||||
|
m.send(player, "add_email");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
if (!Settings.noConsoleSpam)
|
if (!Settings.noConsoleSpam)
|
||||||
ConsoleLogger.info(player.getName() + " logged in!");
|
ConsoleLogger.info(player.getName() + " logged in!");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user