diff options
author | Fabien Potencier <fabien.potencier@gmail.com> | 2016-05-01 06:13:23 +0200 |
---|---|---|
committer | Fabien Potencier <fabien.potencier@gmail.com> | 2016-05-09 13:29:33 -0500 |
commit | 83b345fdf01cb980fb8bd5e15224573d93b8e369 (patch) | |
tree | 955da7a10d029847ebb3fd5e46cb3de14c223c52 /Core | |
parent | a2aa4cdad5949c3bebea89e8aece52a74de4798c (diff) | |
download | symfony-security-83b345fdf01cb980fb8bd5e15224573d93b8e369.zip symfony-security-83b345fdf01cb980fb8bd5e15224573d93b8e369.tar.gz symfony-security-83b345fdf01cb980fb8bd5e15224573d93b8e369.tar.bz2 |
limited the maximum length of a submitted usernamev2.3.42v2.3.41origin/2.3
Diffstat (limited to 'Core')
-rw-r--r-- | Core/SecurityContextInterface.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Core/SecurityContextInterface.php b/Core/SecurityContextInterface.php index 50c30bb..0253a6a 100644 --- a/Core/SecurityContextInterface.php +++ b/Core/SecurityContextInterface.php @@ -23,6 +23,7 @@ interface SecurityContextInterface const ACCESS_DENIED_ERROR = '_security.403_error'; const AUTHENTICATION_ERROR = '_security.last_error'; const LAST_USERNAME = '_security.last_username'; + const MAX_USERNAME_LENGTH = 4096; /** * Returns the current security token. |