aboutsummaryrefslogtreecommitdiff
path: root/views/csrf.templ
diff options
context:
space:
mode:
authorAlexander NeonXP Kiryukhin <i@neonxp.ru>2024-07-21 19:26:56 +0300
committerAlexander NeonXP Kiryukhin <i@neonxp.ru>2024-07-21 19:28:56 +0300
commitce3111b0efe91e275ce070f9511b5b1b9801a46d (patch)
tree09fa4f10dfb1e17761339c798eefa73c6b18484f /views/csrf.templ
parente9a64f3b41b5eae47dec7c0ecfd1caae83136abc (diff)
Множество улучшенийv0.0.2
Diffstat (limited to 'views/csrf.templ')
-rw-r--r--views/csrf.templ3
1 files changed, 1 insertions, 2 deletions
diff --git a/views/csrf.templ b/views/csrf.templ
index 2bb3545..c019d4c 100644
--- a/views/csrf.templ
+++ b/views/csrf.templ
@@ -1,7 +1,6 @@
package views
-import "github.com/labstack/echo/v4"
templ CSRF() {
- <input type="hidden" name={echo.HeaderXCSRFToken} value={ ctx.Value("csrf").(string) }/>
+ // <input type="hidden" name={echo.HeaderXCSRFToken} value={ ctx.Value("csrf").(string) } />
}