diff --git a/templates/admin/auth/edit.tmpl b/templates/admin/auth/edit.tmpl index e1bbd23d0393..70bee6b43aa4 100644 --- a/templates/admin/auth/edit.tmpl +++ b/templates/admin/auth/edit.tmpl @@ -12,7 +12,7 @@
{{.i18n.Tr "admin.auths.edit"}}
-
+ {{.CsrfTokenHtml}} {{$type := .Source.Type}} diff --git a/templates/admin/user/edit.tmpl b/templates/admin/user/edit.tmpl index 317349935e74..bdc0e3343f92 100644 --- a/templates/admin/user/edit.tmpl +++ b/templates/admin/user/edit.tmpl @@ -12,7 +12,7 @@
{{.i18n.Tr "admin.users.edit_account"}}
- + {{.CsrfTokenHtml}}