Only require 2FA for MAPDEV+

This commit is contained in:
cnr 2017-01-19 02:34:36 -06:00
parent 8dc0961f03
commit 8f72f9d087

View File

@ -194,9 +194,12 @@ public class TwoFactorAuth extends MiniClientPlugin<TwoFactorData>
else
{
// 2FA not set up yet.
if (_clientManager.Get(player).GetRank(true).has(Rank.MAPDEV))
{
runSync(() -> setup2FA(event.getPlayer()));
}
}
}
@EventHandler
public void onQuit(PlayerQuitEvent event)