Explorar o código

fix typo in setUseSecureCookie method documentation

Tristan Burch %!s(int64=13) %!d(string=hai) anos
pai
achega
e7f47964ee

+ 1 - 1
web/src/main/java/org/springframework/security/web/authentication/rememberme/AbstractRememberMeServices.java

@@ -441,7 +441,7 @@ public abstract class AbstractRememberMeServices implements RememberMeServices,
 
     /**
      * Whether the cookie should be flagged as secure or not. Secure cookies can only be sent over an HTTPS connection
-     * and this cannot be accidentally submitted over HTTP where they could be intercepted.
+     * and thus cannot be accidentally submitted over HTTP where they could be intercepted.
      * <p>
      * By default the cookie will be secure if the request is secure. If you only want to use remember-me over
      * HTTPS (recommended) you should set this property to {@code true}.