From 08db2e9e00019210489a9f0dd34bab74a4837ef5 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Mon, 18 Mar 2024 18:44:55 +0300 Subject: Add `noindex` directive to /login page --- src/main/java/com/juick/www/controllers/Site.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main') diff --git a/src/main/java/com/juick/www/controllers/Site.java b/src/main/java/com/juick/www/controllers/Site.java index 47438900..3af6f2c2 100644 --- a/src/main/java/com/juick/www/controllers/Site.java +++ b/src/main/java/com/juick/www/controllers/Site.java @@ -110,6 +110,7 @@ public class Site { model.addAttribute("tags", tagService.getPopularTags()); model.addAttribute("domain", webDomain); model.addAttribute("tgBot", tgBot); + model.addAttribute("headers", ""); AuthenticationException authEx = (AuthenticationException) session .getAttribute(WebAttributes.AUTHENTICATION_EXCEPTION); -- cgit v1.2.3