#1141 2FA implementation fixes

- Merge TotpService into TotpAuthenticator
- Add missing tests
- Migrate old 2fa enabled key to new one
This commit is contained in:
ljacqu
2018-05-01 22:49:07 +02:00
parent 29ac3a7022
commit 1e3ed795c1
13 changed files with 356 additions and 79 deletions
@@ -4,3 +4,5 @@ unknown_user: 'Message from test2'
login: 'test2 - login'
not_logged_in: 'test2 - not logged in'
wrong_pwd: 'test2 - wrong password'
misc:
two_factor_create: 'Old 2fa create text'