Răsfoiți Sursa

Correct username key.

Ben Alex 18 ani în urmă
părinte
comite
2a83843e7d

+ 1 - 1
core/src/main/java/org/springframework/security/ui/webapp/AuthenticationProcessingFilter.java

@@ -48,7 +48,7 @@ public class AuthenticationProcessingFilter extends AbstractProcessingFilter {
 
     public static final String SPRING_SECURITY_FORM_USERNAME_KEY = "j_username";
     public static final String SPRING_SECURITY_FORM_PASSWORD_KEY = "j_password";
-    public static final String SPRING_SECURITY_LAST_USERNAME_KEY = "SECURITY_SECURITY_LAST_USERNAME";
+    public static final String SPRING_SECURITY_LAST_USERNAME_KEY = "SPRING_SECURITY_LAST_USERNAME";
 
     private String usernameParameter = SPRING_SECURITY_FORM_USERNAME_KEY;
     private String passwordParameter = SPRING_SECURITY_FORM_PASSWORD_KEY;