mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2025-02-01 04:21:41 +01:00
Do not require a password on registration if two factor is enabled
This commit is contained in:
parent
cb27d46e4e
commit
d3d377ca02
@ -296,7 +296,7 @@ public final class CommandInitializer {
|
|||||||
.labels("register", "reg")
|
.labels("register", "reg")
|
||||||
.description("Registration command")
|
.description("Registration command")
|
||||||
.detailedDescription("Command to register using AuthMeReloaded.")
|
.detailedDescription("Command to register using AuthMeReloaded.")
|
||||||
.withArgument("password", "Password", false)
|
.withArgument("password", "Password", true)
|
||||||
.withArgument("verifyPassword", "Verify password", true)
|
.withArgument("verifyPassword", "Verify password", true)
|
||||||
.permissions(ALLOWED, PlayerPermission.REGISTER)
|
.permissions(ALLOWED, PlayerPermission.REGISTER)
|
||||||
.executableCommand(new RegisterCommand())
|
.executableCommand(new RegisterCommand())
|
||||||
|
Loading…
Reference in New Issue
Block a user