1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-19 08:48:37 +00:00

Fix edit auth page bug

This commit is contained in:
Unknown
2014-05-12 11:02:36 -04:00
parent 1769bb2f26
commit f1130ce5e9
7 changed files with 41 additions and 31 deletions

View File

@@ -37,8 +37,11 @@ var LoginTypes = map[int]string{
LT_SMTP: "SMTP",
}
var _ core.Conversion = &LDAPConfig{}
var _ core.Conversion = &SMTPConfig{}
// Ensure structs implmented interface.
var (
_ core.Conversion = &LDAPConfig{}
_ core.Conversion = &SMTPConfig{}
)
type LDAPConfig struct {
ldap.Ldapsource