Update docs / update recovery code command in email message

- Update docs to reflect new commands, configurations (account recovery, limbo handling) and messages
- Change message for the recovery code email to contain the new command
This commit is contained in:
ljacqu
2017-03-22 23:14:02 +01:00
parent ce40b3798b
commit e77828b228
6 changed files with 75 additions and 46 deletions
@@ -30,9 +30,6 @@ public class PasswordRecoveryService implements Reloadable {
@Inject
private CommonService commonService;
@Inject
private RecoveryCodeService codeService;
@Inject
private DataSource dataSource;
@@ -129,7 +126,7 @@ public class PasswordRecoveryService implements Reloadable {
* @param player The player to check.
* @return True if the player is not on cooldown.
*/
public boolean checkEmailCooldown(Player player) {
private boolean checkEmailCooldown(Player player) {
Duration waitDuration = emailCooldown.getExpiration(player.getName().toLowerCase());
if (waitDuration.getDuration() > 0) {
String durationText = messages.formatDuration(waitDuration);