summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/mattermost/platform/einterfaces/mfa.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/mattermost/platform/einterfaces/mfa.go')
-rw-r--r--vendor/github.com/mattermost/platform/einterfaces/mfa.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/mattermost/platform/einterfaces/mfa.go b/vendor/github.com/mattermost/platform/einterfaces/mfa.go
index 25f3ed91..4830d261 100644
--- a/vendor/github.com/mattermost/platform/einterfaces/mfa.go
+++ b/vendor/github.com/mattermost/platform/einterfaces/mfa.go
@@ -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)