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,7 +194,10 @@ public class TwoFactorAuth extends MiniClientPlugin<TwoFactorData>
else else
{ {
// 2FA not set up yet. // 2FA not set up yet.
runSync(() -> setup2FA(event.getPlayer())); if (_clientManager.Get(player).GetRank(true).has(Rank.MAPDEV))
{
runSync(() -> setup2FA(event.getPlayer()));
}
} }
} }