forked from External/mage
Send an email on successful user registration. Use Gmail API for that. Add password confirmation and email to RegisterUserDialog.
This commit is contained in:
parent
46f60cd857
commit
a0ddd4fff0
11 changed files with 328 additions and 70 deletions
|
|
@ -94,7 +94,7 @@ public class ConfigSettings {
|
|||
public int getBacklogSize() {
|
||||
return config.getServer().getBacklogSize().intValue();
|
||||
}
|
||||
|
||||
|
||||
public int getMaxGameThreads() {
|
||||
return config.getServer().getMaxGameThreads().intValue();
|
||||
}
|
||||
|
|
@ -114,14 +114,22 @@ public class ConfigSettings {
|
|||
public String getUserNamePattern() {
|
||||
return config.getServer().getUserNamePattern();
|
||||
}
|
||||
|
||||
|
||||
public String getMaxAiOpponents() {
|
||||
return config.getServer().getMaxAiOpponents();
|
||||
}
|
||||
|
||||
public Boolean isSaveGameActivated() {
|
||||
return config.getServer().isSaveGameActivated();
|
||||
}
|
||||
return config.getServer().isSaveGameActivated();
|
||||
}
|
||||
|
||||
public Boolean isAuthenticationActivated() {
|
||||
return config.getServer().isAuthenticationActivated();
|
||||
}
|
||||
|
||||
public String getGoogleAccount() {
|
||||
return config.getServer().getGoogleAccount();
|
||||
}
|
||||
|
||||
public List<Plugin> getPlayerTypes() {
|
||||
return config.getPlayerTypes().getPlayerType();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue