summaryrefslogtreecommitdiffstats
path: root/einterfaces
diff options
context:
space:
mode:
Diffstat (limited to 'einterfaces')
-rw-r--r--einterfaces/ldap.go4
-rw-r--r--einterfaces/mfa.go2
2 files changed, 3 insertions, 3 deletions
diff --git a/einterfaces/ldap.go b/einterfaces/ldap.go
index 3917b42f8..25d591ce2 100644
--- a/einterfaces/ldap.go
+++ b/einterfaces/ldap.go
@@ -8,10 +8,10 @@ import (
)
type LdapInterface interface {
- DoLogin(team *model.Team, id string, password string) (*model.User, *model.AppError)
+ DoLogin(id string, password string) (*model.User, *model.AppError)
GetUser(id string) (*model.User, *model.AppError)
CheckPassword(id string, password string) *model.AppError
- SwitchToEmail(userId, ldapId, ldapPassword string) *model.AppError
+ SwitchToLdap(userId, ldapId, ldapPassword string) *model.AppError
ValidateFilter(filter string) *model.AppError
}
diff --git a/einterfaces/mfa.go b/einterfaces/mfa.go
index 0703fb766..25f3ed913 100644
--- a/einterfaces/mfa.go
+++ b/einterfaces/mfa.go
@@ -8,7 +8,7 @@ import (
)
type MfaInterface interface {
- GenerateQrCode(team *model.Team, user *model.User) ([]byte, *model.AppError)
+ GenerateQrCode(user *model.User) ([]byte, *model.AppError)
Activate(user *model.User, token string) *model.AppError
Deactivate(userId string) *model.AppError
ValidateToken(secret, token string) (bool, *model.AppError)