summaryrefslogtreecommitdiffstats
path: root/einterfaces/ldap.go
diff options
context:
space:
mode:
authorJoramWilander <jwawilander@gmail.com>2016-03-23 15:59:43 -0400
committerJoramWilander <jwawilander@gmail.com>2016-03-23 15:59:58 -0400
commit934c7c7a7c8423d71fdc7d1586b9c03aedcc5129 (patch)
tree07ad5b9140035493c7dff1122c0fbbd412c2e25a /einterfaces/ldap.go
parent463fd8c20b6e20d1cc669810c339770b9b1ede41 (diff)
downloadchat-934c7c7a7c8423d71fdc7d1586b9c03aedcc5129.tar.gz
chat-934c7c7a7c8423d71fdc7d1586b9c03aedcc5129.tar.bz2
chat-934c7c7a7c8423d71fdc7d1586b9c03aedcc5129.zip
Fix imports and change ldap function name
Diffstat (limited to 'einterfaces/ldap.go')
-rw-r--r--einterfaces/ldap.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/einterfaces/ldap.go b/einterfaces/ldap.go
index 583fa02c0..2977ab812 100644
--- a/einterfaces/ldap.go
+++ b/einterfaces/ldap.go
@@ -11,7 +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
+ SwitchToEmail(userId, ldapId, ldapPassword string) *model.AppError
}
var theLdapInterface LdapInterface