From 2d4b2381ffa67994d1756843e881d3da43bce082 Mon Sep 17 00:00:00 2001 From: Sabrita Date: Mon, 27 Feb 2023 18:45:28 +0800 Subject: [PATCH] =?UTF-8?q?=E9=BB=98=E8=AE=A4=E4=BD=BF=E7=94=A8=E9=82=AE?= =?UTF-8?q?=E7=AE=B1=E6=B3=A8=E5=86=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../authme/settings/properties/RegistrationSettings.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/main/java/fr/xephi/authme/settings/properties/RegistrationSettings.java b/src/main/java/fr/xephi/authme/settings/properties/RegistrationSettings.java index daefe92c..a2f2d0af 100644 --- a/src/main/java/fr/xephi/authme/settings/properties/RegistrationSettings.java +++ b/src/main/java/fr/xephi/authme/settings/properties/RegistrationSettings.java @@ -33,17 +33,18 @@ public final class RegistrationSettings implements SettingsHolder { "More info at https://github.com/AuthMe/AuthMeReloaded/wiki/Registration" }) public static final Property REGISTRATION_TYPE = - newProperty(RegistrationType.class, "settings.registration.type", RegistrationType.PASSWORD); + newProperty(RegistrationType.class, "settings.registration.type", RegistrationType.EMAIL); @Comment({ - "Second argument the /register command should take: NONE = no 2nd argument", + "Second argument the /register command should take: ", + "NONE = no 2nd argument", "CONFIRMATION = must repeat first argument (pass or email)", "EMAIL_OPTIONAL = for password register: 2nd argument can be empty or have email address", "EMAIL_MANDATORY = for password register: 2nd argument MUST be an email address" }) public static final Property REGISTER_SECOND_ARGUMENT = newProperty(RegisterSecondaryArgument.class, "settings.registration.secondArg", - RegisterSecondaryArgument.CONFIRMATION); + RegisterSecondaryArgument.NONE); @Comment({ "Do we force kick a player after a successful registration?",