EE: PLT-4512 Show secret in addition to QR code when activating MFA (#4427)

* EE: Update MFA to display secret for manual entry

* Width adjustments for secret (#4423)

* Add unit test
Этот коммит содержится в:
Joram Wilander
2016-11-03 10:41:11 -04:00
коммит произвёл Christopher Speller
родитель 5b34ac6e1e
Коммит 0234f793f2
10 изменённых файлов: 90 добавлений и 25 удалений

Просмотреть файл

@@ -8,7 +8,7 @@ import (
)
type MfaInterface interface {
GenerateQrCode(user *model.User) ([]byte, *model.AppError)
GenerateSecret(user *model.User) (string, []byte, *model.AppError)
Activate(user *model.User, token string) *model.AppError
Deactivate(userId string) *model.AppError
ValidateToken(secret, token string) (bool, *model.AppError)