Procházet zdrojové kódy

SEC-2674: Documentation refers to httpStrictTransportSecurity() instead of hsts()

Rob Winch před 10 roky
rodič
revize
4dcc89fab0
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      docs/manual/src/asciidoc/index.adoc

+ 1 - 1
docs/manual/src/asciidoc/index.adoc

@@ -3559,7 +3559,7 @@ public class WebSecurityConfig extends
     http
       // ...
       .headers()
-        .hsts();
+        .httpStrictTransportSecurity();
   }
 }
 ----