MM-12976: Moving MFA to Team edition (#9971)

* MM-12976: Moving MFA to Team edition

* Changing the mfa disabled i18n key and string
Этот коммит содержится в:
Jesús Espino
2018-12-12 11:50:19 +01:00
коммит произвёл GitHub
родитель f94567c97b
Коммит a7b6c71421
11 изменённых файлов: 268 добавлений и 88 удалений

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

@@ -95,12 +95,6 @@ func RegisterMetricsInterface(f func(*App) einterfaces.MetricsInterface) {
metricsInterface = f
}
var mfaInterface func(*App) einterfaces.MfaInterface
func RegisterMfaInterface(f func(*App) einterfaces.MfaInterface) {
mfaInterface = f
}
var samlInterface func(*App) einterfaces.SamlInterface
func RegisterSamlInterface(f func(*App) einterfaces.SamlInterface) {
@@ -131,9 +125,6 @@ func (s *Server) initEnterprise() {
if metricsInterface != nil {
s.Metrics = metricsInterface(s.FakeApp())
}
if mfaInterface != nil {
s.Mfa = mfaInterface(s.FakeApp())
}
if samlInterface != nil {
s.Saml = samlInterface(s.FakeApp())
s.AddConfigListener(func(_, cfg *model.Config) {