Email verification code (#1382)
* Base verification code implementation, must define command, manager, events * VerificationManager, verification command and messages, handled some sensible commands, configuration values * Improved manager and sensible commands trigger * Updated messages * Updated verification code manager, fixed tests * Switched to a permission based command * Verification manager and command improved and added tests * Edited messages
This commit is contained in:
@@ -47,8 +47,11 @@ commands:
|
||||
- changepass
|
||||
- cp
|
||||
captcha:
|
||||
description: Captcha Command
|
||||
description: Captcha command
|
||||
usage: /captcha <captcha>
|
||||
verification:
|
||||
description: Verification command
|
||||
usage: /verification <code>
|
||||
permissions:
|
||||
authme.admin.*:
|
||||
description: Gives access to all admin commands
|
||||
@@ -224,6 +227,7 @@ permissions:
|
||||
authme.player.login: true
|
||||
authme.player.logout: true
|
||||
authme.player.register: true
|
||||
authme.player.security.verificationcode: true
|
||||
authme.player.seeownaccounts: true
|
||||
authme.player.unregister: true
|
||||
authme.player.canbeforced:
|
||||
@@ -263,6 +267,9 @@ permissions:
|
||||
authme.player.register:
|
||||
description: Command permission to register.
|
||||
default: true
|
||||
authme.player.security.verificationcode:
|
||||
description: Permission to use the email verification codes feature.
|
||||
default: true
|
||||
authme.player.seeownaccounts:
|
||||
description: Permission to use to see own other accounts.
|
||||
default: true
|
||||
|
||||
Reference in New Issue
Block a user