mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-08 14:35:52 +01:00
Fix indent.
This commit is contained in:
@@ -23,15 +23,15 @@ trait SystemSettingsControllerBase extends ControllerBase with FlashMapSupport {
|
|||||||
"password" -> trim(label("SMTP Password", optional(text()))),
|
"password" -> trim(label("SMTP Password", optional(text()))),
|
||||||
"ssl" -> trim(label("Enable SSL", optional(boolean())))
|
"ssl" -> trim(label("Enable SSL", optional(boolean())))
|
||||||
)(Smtp.apply)),
|
)(Smtp.apply)),
|
||||||
"ldapAuthentication" -> trim(label("LDAP", boolean())),
|
"ldapAuthentication" -> trim(label("LDAP", boolean())),
|
||||||
"ldap" -> optionalIfNotChecked("ldapAuthentication", mapping(
|
"ldap" -> optionalIfNotChecked("ldapAuthentication", mapping(
|
||||||
"host" -> trim(label("LDAP host", text(required))),
|
"host" -> trim(label("LDAP host", text(required))),
|
||||||
"port" -> trim(label("LDAP port", optional(number()))),
|
"port" -> trim(label("LDAP port", optional(number()))),
|
||||||
"bindDN" -> trim(label("Bind DN", text(required))),
|
"bindDN" -> trim(label("Bind DN", text(required))),
|
||||||
"bindPassword" -> trim(label("Bind Password", text(required))),
|
"bindPassword" -> trim(label("Bind Password", text(required))),
|
||||||
"baseDN" -> trim(label("Base DN", text(required))),
|
"baseDN" -> trim(label("Base DN", text(required))),
|
||||||
"userNameAttribute" -> trim(label("User name attribute", text(required))),
|
"userNameAttribute" -> trim(label("User name attribute", text(required))),
|
||||||
"mailAttribute" -> trim(label("Mail address attribute", text(required)))
|
"mailAttribute" -> trim(label("Mail address attribute", text(required)))
|
||||||
)(Ldap.apply))
|
)(Ldap.apply))
|
||||||
)(SystemSettings.apply)
|
)(SystemSettings.apply)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user