#1141 Rough version of TOTP commands to add and remove a code for a player

This commit is contained in:
ljacqu
2018-03-07 20:11:53 +01:00
parent 9954c82cb6
commit c3cf9e3ee0
13 changed files with 416 additions and 12 deletions
+9
View File
@@ -46,6 +46,11 @@ commands:
aliases:
- changepass
- cp
totp:
description: TOTP commands
usage: /totp add|remove
aliases:
- 2fa
captcha:
description: Captcha command
usage: /captcha <captcha>
@@ -233,6 +238,7 @@ permissions:
authme.player.register: true
authme.player.security.verificationcode: true
authme.player.seeownaccounts: true
authme.player.totp: true
authme.player.unregister: true
authme.player.canbeforced:
description: Permission for users a login can be forced to.
@@ -277,6 +283,9 @@ permissions:
authme.player.seeownaccounts:
description: Permission to use to see own other accounts.
default: true
authme.player.totp:
description: Permission to enable and disable TOTP.
default: true
authme.player.unregister:
description: Command permission to unregister.
default: true