- Introduce /email code

- Add max tries for /email code
- Introduce a PasswordRecoveryService
This commit is contained in:
EbonJaguar
2017-03-06 13:54:46 -05:00
parent a64f758ee9
commit 7d4bfcd99d
40 changed files with 529 additions and 240 deletions
@@ -44,7 +44,9 @@ accounts_owned_self: '您擁有 %count 個帳戶:'
accounts_owned_other: '玩家 %name 擁有 %count 個帳戶:'
two_factor_create: '&2您的密碼是 %code。您可以從這裡掃描 %url'
recovery_code_sent: '已將重設密碼的恢復代碼發送到您的電子郵件。'
# TODO: Missing tags %count
recovery_code_incorrect: '恢復代碼錯誤!使用指令: "/email recovery [電郵地址]" 生成新的一個恢復代碼。'
# TODO recovery_tries_exceeded: 'You have exceeded the maximum number attempts to enter the recovery code. Use "/email recovery [email]" to generate a new one.'
vb_nonActiv: '&c你的帳戶未激活,請確認電郵!'
usage_unreg: '&c使用方法: "/unregister <你的密碼>"'
pwd_changed: '&2密碼已更變!'