diff --git a/object/site.go b/object/site.go
index 4362001..b1a74c7 100644
--- a/object/site.go
+++ b/object/site.go
@@ -47,7 +47,6 @@ type Site struct {
Domain string `xorm:"varchar(100)" json:"domain"`
OtherDomains []string `xorm:"varchar(500)" json:"otherDomains"`
NeedRedirect bool `json:"needRedirect"`
- EnableWaf bool `json:"enableWaf"`
DisableVerbose bool `json:"disableVerbose"`
Rules []string `xorm:"varchar(500)" json:"wafRuleIds"`
Challenges []string `xorm:"mediumtext" json:"challenges"`
diff --git a/web/src/SiteEditPage.js b/web/src/SiteEditPage.js
index fa7a84e..5c9d6ce 100644
--- a/web/src/SiteEditPage.js
+++ b/web/src/SiteEditPage.js
@@ -169,16 +169,6 @@ class SiteEditPage extends React.Component {
}} />
-
-
- {i18next.t("site:Enable WAF")}:
-
-
- {
- this.updateSiteField("enableWaf", checked);
- }} />
-
-
{i18next.t("site:Disable verbose")}:
diff --git a/web/src/SiteListPage.js b/web/src/SiteListPage.js
index 252e327..73eb464 100644
--- a/web/src/SiteListPage.js
+++ b/web/src/SiteListPage.js
@@ -36,7 +36,6 @@ class SiteListPage extends BaseListPage {
displayName: `New Site - ${randomName}`,
domain: "door.casdoor.com",
otherDomains: [],
- enableWaf: false,
needRedirect: false,
challenges: [],
host: "",
@@ -180,22 +179,6 @@ class SiteListPage extends BaseListPage {
});
},
},
- {
- title: i18next.t("site:Enable WAF"),
- dataIndex: "enableWaf",
- key: "enableWaf",
- width: "120px",
- sorter: (a, b) => a.otherDomains.localeCompare(b.otherDomains),
- render: (text, record, index) => {
- return (
-
-
- {record.enableWaf ? "enabled" : "disabled"}
-
-
- );
- },
- },
{
title: i18next.t("site:Host"),
dataIndex: "host",