diff --git a/server/plugin/plg_authenticate_admin/index.go b/server/plugin/plg_authenticate_admin/index.go index d4b10284..9df4a94a 100644 --- a/server/plugin/plg_authenticate_admin/index.go +++ b/server/plugin/plg_authenticate_admin/index.go @@ -53,7 +53,7 @@ func (this Admin) EntryPoint(idpParams map[string]string, req *http.Request, res res.Header().Set("Content-Type", "text/html; charset=utf-8") res.WriteHeader(http.StatusOK) res.Write([]byte(Page(` -
+ diff --git a/server/plugin/plg_authenticate_htpasswd/index.go b/server/plugin/plg_authenticate_htpasswd/index.go index 5e07f931..0b924997 100644 --- a/server/plugin/plg_authenticate_htpasswd/index.go +++ b/server/plugin/plg_authenticate_htpasswd/index.go @@ -73,7 +73,7 @@ func (this Htpasswd) EntryPoint(idpParams map[string]string, req *http.Request, res.Header().Set("Content-Type", "text/html; charset=utf-8") res.WriteHeader(http.StatusOK) res.Write([]byte(Page(` - + diff --git a/server/plugin/plg_authenticate_local/auth.go b/server/plugin/plg_authenticate_local/auth.go index fbe728a1..fc89be02 100644 --- a/server/plugin/plg_authenticate_local/auth.go +++ b/server/plugin/plg_authenticate_local/auth.go @@ -113,7 +113,7 @@ func (this SimpleAuth) EntryPoint(idpParams map[string]string, req *http.Request return err } template.Must(template.New("app").Parse(Page(` - + {{ if eq .User.MFA "" }}