From 1d5cd1d7c479c382c9cddaf02f1e59bf55971f12 Mon Sep 17 00:00:00 2001 From: Wim Date: Sat, 12 Nov 2016 22:00:53 +0100 Subject: Sync with mattermost 3.5.0 --- vendor/github.com/mattermost/platform/einterfaces/mfa.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vendor/github.com/mattermost/platform/einterfaces/mfa.go') 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) -- cgit v1.2.3