Add the ability to switch from email to ldap and back

Этот коммит содержится в:
JoramWilander
2016-03-17 15:46:16 -04:00
родитель 7af2e6f87a
Коммит 463fd8c20b
20 изменённых файлов: 933 добавлений и 231 удалений

Просмотреть файл

@@ -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