summaryrefslogtreecommitdiffstats
path: root/einterfaces/ldap.go
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2016-03-23 16:26:37 -0400
committerChristopher Speller <crspeller@gmail.com>2016-03-23 16:26:37 -0400
commit07bf7c498d603d76741fee20f4090438a592a659 (patch)
tree68a5cdbe23babd7eb9510d287810ed6df434755a /einterfaces/ldap.go
parent6285ec44bbcafe41dbd47dfe9955982df4bab362 (diff)
parent934c7c7a7c8423d71fdc7d1586b9c03aedcc5129 (diff)
downloadchat-07bf7c498d603d76741fee20f4090438a592a659.tar.gz
chat-07bf7c498d603d76741fee20f4090438a592a659.tar.bz2
chat-07bf7c498d603d76741fee20f4090438a592a659.zip
Merge pull request #2465 from mattermost/plt-2260
PLT-2260 Add the ability to switch from email to ldap and back
Diffstat (limited to 'einterfaces/ldap.go')
-rw-r--r--einterfaces/ldap.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/einterfaces/ldap.go b/einterfaces/ldap.go
index 1c5938322..2977ab812 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
+ SwitchToEmail(userId, ldapId, ldapPassword string) *model.AppError
}
var theLdapInterface LdapInterface