From 9faf43a6c4b933b5f97be4348d461bf91f5bf2e2 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Mon, 24 Oct 2022 01:09:32 +0300 Subject: Spring Boot 3 --- src/main/resources/templates/layouts/default.html | 4 ++-- src/main/resources/templates/layouts/login.html | 3 ++- src/main/resources/templates/views/post.html | 1 + 3 files changed, 5 insertions(+), 3 deletions(-) (limited to 'src/main/resources/templates') diff --git a/src/main/resources/templates/layouts/default.html b/src/main/resources/templates/layouts/default.html index a2665364..9167dbfb 100644 --- a/src/main/resources/templates/layouts/default.html +++ b/src/main/resources/templates/layouts/default.html @@ -35,7 +35,7 @@ -
0 %}data-hash="{{visitor.authHash}}" {% endif %}> + 0 %}data-hash="{{visitor.authHash}}" {% else %}data-token="{{_csrf.token}}" {% endif %}>