summaryrefslogtreecommitdiffstats
path: root/Core/Security.php
diff options
context:
space:
mode:
authorFabien Potencier <fabien.potencier@gmail.com>2016-05-09 14:21:30 -0500
committerFabien Potencier <fabien.potencier@gmail.com>2016-05-09 14:23:35 -0500
commit1eebd2bd10b38c068aa05aa123201c53def1bc6d (patch)
treeb7513ac6a44bb84ea794508fd014c0a3bd64e202 /Core/Security.php
parent083c455db53347f2e8e4894b5f4bf7f06226d086 (diff)
parent83b345fdf01cb980fb8bd5e15224573d93b8e369 (diff)
downloadsymfony-security-1eebd2bd10b38c068aa05aa123201c53def1bc6d.zip
symfony-security-1eebd2bd10b38c068aa05aa123201c53def1bc6d.tar.gz
symfony-security-1eebd2bd10b38c068aa05aa123201c53def1bc6d.tar.bz2
Merge branch '2.3' into 2.7v2.7.13
* 2.3: limited the maximum length of a submitted username
Diffstat (limited to 'Core/Security.php')
-rw-r--r--Core/Security.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/Core/Security.php b/Core/Security.php
index 14d32f8..84cc77d 100644
--- a/Core/Security.php
+++ b/Core/Security.php
@@ -21,4 +21,5 @@ final class Security
const ACCESS_DENIED_ERROR = '_security.403_error';
const AUTHENTICATION_ERROR = '_security.last_error';
const LAST_USERNAME = '_security.last_username';
+ const MAX_USERNAME_LENGTH = 4096;
}