diff options
Diffstat (limited to 'api/config.go')
-rw-r--r-- | api/config.go | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/api/config.go b/api/config.go index d8d52ca67..142d1ca66 100644 --- a/api/config.go +++ b/api/config.go @@ -18,7 +18,6 @@ func InitConfig(r *mux.Router) { sr := r.PathPrefix("/config").Subrouter() sr.Handle("/get_all", ApiAppHandler(getConfig)).Methods("GET") - sr.Handle("/get/bypass_email", ApiAppHandler(getBypassEmail)).Methods("GET") } func getConfig(c *Context, w http.ResponseWriter, r *http.Request) { @@ -33,7 +32,3 @@ func getConfig(c *Context, w http.ResponseWriter, r *http.Request) { w.Write(bytes) } } - -func getBypassEmail(c *Context, w http.ResponseWriter, r *http.Request) { - w.Write([]byte(strconv.FormatBool(utils.Cfg.EmailSettings.ByPassEmail))) -} |