From 463fd8c20b6e20d1cc669810c339770b9b1ede41 Mon Sep 17 00:00:00 2001 From: JoramWilander Date: Thu, 17 Mar 2016 15:46:16 -0400 Subject: Add the ability to switch from email to ldap and back --- einterfaces/ldap.go | 1 + 1 file changed, 1 insertion(+) (limited to 'einterfaces') diff --git a/einterfaces/ldap.go b/einterfaces/ldap.go index 1c5938322..583fa02c0 100644 --- a/einterfaces/ldap.go +++ b/einterfaces/ldap.go @@ -11,6 +11,7 @@ type LdapInterface interface { DoLogin(team *model.Team, id string, password string) (*model.User, *model.AppError) GetUser(id string) (*model.User, *model.AppError) CheckPassword(id string, password string) *model.AppError + DoSwitch(userId, ldapId, ldapPassword string) *model.AppError } var theLdapInterface LdapInterface -- cgit v1.2.3-1-g7c22