forked from External/mage
Add some password validation.
This commit is contained in:
parent
8dd1e21dba
commit
f99660a451
6 changed files with 50 additions and 19 deletions
|
|
@ -111,8 +111,16 @@ public class ConfigSettings {
|
|||
return config.getServer().getMaxUserNameLength().intValue();
|
||||
}
|
||||
|
||||
public String getUserNamePattern() {
|
||||
return config.getServer().getUserNamePattern();
|
||||
public String getInvalidUserNamePattern() {
|
||||
return config.getServer().getInvalidUserNamePattern();
|
||||
}
|
||||
|
||||
public int getMinPasswordLength() {
|
||||
return config.getServer().getMinPasswordLength().intValue();
|
||||
}
|
||||
|
||||
public int getMaxPasswordLength() {
|
||||
return config.getServer().getMaxPasswordLength().intValue();
|
||||
}
|
||||
|
||||
public String getMaxAiOpponents() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue