chore(be): remove asking DingTalk settings in setup

This commit is contained in:
Denis Gukov 2024-09-27 23:52:41 +05:00
parent 8335649a81
commit 41b682ff38

View File

@ -79,11 +79,6 @@ func InteractiveSetup(conf *util.ConfigType) {
askValue("Microsoft Teams Webhook URL", "", &conf.MicrosoftTeamsUrl) askValue("Microsoft Teams Webhook URL", "", &conf.MicrosoftTeamsUrl)
} }
askConfirmation("Enable DingTalk alerts?", false, &conf.DingTalkAlert)
if conf.DingTalkAlert {
askValue("DingTalkAlert Webhook URL", "", &conf.DingTalkUrl)
}
askConfirmation("Enable LDAP authentication?", false, &conf.LdapEnable) askConfirmation("Enable LDAP authentication?", false, &conf.LdapEnable)
if conf.LdapEnable { if conf.LdapEnable {
askValue("LDAP server host", "localhost:389", &conf.LdapServer) askValue("LDAP server host", "localhost:389", &conf.LdapServer)