#1141 Require TOTP code to be passed with /login (temporary)
- Temporarily require the TOTP code to be provided with /login - Future implementation should require it as a second step
This commit is contained in:
@@ -49,8 +49,8 @@ public class Management {
|
||||
}
|
||||
|
||||
|
||||
public void performLogin(Player player, String password) {
|
||||
runTask(() -> asynchronousLogin.login(player, password));
|
||||
public void performLogin(Player player, String password, String totpCode) {
|
||||
runTask(() -> asynchronousLogin.login(player, password, totpCode));
|
||||
}
|
||||
|
||||
public void forceLogin(Player player) {
|
||||
|
||||
Reference in New Issue
Block a user