#1141 Fixes to TOTP implementation

- Revert back to SHA1 as HMAC hash function so that it works with Google authenticator
- Add message to user to tell him to run /2fa confirm to add a TOTP code
This commit is contained in:
ljacqu
2018-04-22 11:13:27 +02:00
parent de0e588cf3
commit 29ac3a7022
39 changed files with 510 additions and 149 deletions
+2 -2
View File
@@ -23,7 +23,7 @@ commands:
usage: /email show|add|change|recover|code|setpassword
login:
description: Login command
usage: /login <password> [2facode]
usage: /login <password>
aliases:
- l
- log
@@ -48,7 +48,7 @@ commands:
- cp
totp:
description: TOTP commands
usage: /totp add|confirm|remove
usage: /totp code|add|confirm|remove
aliases:
- 2fa
captcha: