Added /log command to the allowCommands sequence (#2290)
This commit is contained in:
parent
f2bdaa0454
commit
4e55f26a41
@ -138,8 +138,9 @@ settings:
|
|||||||
# Allowed commands for unauthenticated players
|
# Allowed commands for unauthenticated players
|
||||||
allowCommands:
|
allowCommands:
|
||||||
- /login
|
- /login
|
||||||
- /register
|
- /log
|
||||||
- /l
|
- /l
|
||||||
|
- /register
|
||||||
- /reg
|
- /reg
|
||||||
- /email
|
- /email
|
||||||
- /captcha
|
- /captcha
|
||||||
|
|||||||
@ -27,7 +27,7 @@ public final class RestrictionSettings implements SettingsHolder {
|
|||||||
@Comment("Allowed commands for unauthenticated players")
|
@Comment("Allowed commands for unauthenticated players")
|
||||||
public static final Property<Set<String>> ALLOW_COMMANDS =
|
public static final Property<Set<String>> ALLOW_COMMANDS =
|
||||||
newLowercaseStringSetProperty("settings.restrictions.allowCommands",
|
newLowercaseStringSetProperty("settings.restrictions.allowCommands",
|
||||||
"/login", "/register", "/l", "/reg", "/email", "/captcha", "/2fa", "/totp");
|
"/login", "/log", "/l", "/register", "/reg", "/email", "/captcha", "/2fa", "/totp");
|
||||||
|
|
||||||
@Comment({
|
@Comment({
|
||||||
"Max number of allowed registrations per IP",
|
"Max number of allowed registrations per IP",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user