Revert: Fix default password regex
- The regex pattern allows all visible, non-whitespace ASCII symbols, including '0'
This commit is contained in:
parent
b196d3e022
commit
822818cf33
@ -158,7 +158,7 @@ public final class RestrictionSettings implements SettingsHolder {
|
|||||||
|
|
||||||
@Comment("Regex syntax for allowed chars in passwords")
|
@Comment("Regex syntax for allowed chars in passwords")
|
||||||
public static final Property<String> ALLOWED_PASSWORD_REGEX =
|
public static final Property<String> ALLOWED_PASSWORD_REGEX =
|
||||||
newProperty("settings.restrictions.allowedPasswordCharacters", "[0-~]*");
|
newProperty("settings.restrictions.allowedPasswordCharacters", "[\\x21-\\x7E]*");
|
||||||
|
|
||||||
@Comment("Force survival gamemode when player joins?")
|
@Comment("Force survival gamemode when player joins?")
|
||||||
public static final Property<Boolean> FORCE_SURVIVAL_MODE =
|
public static final Property<Boolean> FORCE_SURVIVAL_MODE =
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user