Enable 2FA for support
This commit is contained in:
parent
0ad69ebefc
commit
e3eac8b3ec
@ -192,7 +192,7 @@ public class TwoFactorAuth extends MiniClientPlugin<TwoFactorData>
|
||||
|
||||
TwoFactorData data = Get(player);
|
||||
|
||||
if ((data.getLastLoginIp().isPresent() && player.getAddress().getAddress().toString().substring(1).equals(data.getLastLoginIp().get())) || _clientManager.Get(player).GetRank(true) == Rank.SUPPORT)
|
||||
if (data.getLastLoginIp().isPresent() && player.getAddress().getAddress().toString().substring(1).equals(data.getLastLoginIp().get()))
|
||||
{
|
||||
player.sendMessage(F.main("2FA", "Authenticated"));
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user