Only require 2FA for MAPDEV+
This commit is contained in:
parent
8dc0961f03
commit
8f72f9d087
@ -194,7 +194,10 @@ public class TwoFactorAuth extends MiniClientPlugin<TwoFactorData>
|
||||
else
|
||||
{
|
||||
// 2FA not set up yet.
|
||||
runSync(() -> setup2FA(event.getPlayer()));
|
||||
if (_clientManager.Get(player).GetRank(true).has(Rank.MAPDEV))
|
||||
{
|
||||
runSync(() -> setup2FA(event.getPlayer()));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user