diff options
author | Fabien Potencier <fabien.potencier@gmail.com> | 2016-05-09 14:24:00 -0500 |
---|---|---|
committer | Fabien Potencier <fabien.potencier@gmail.com> | 2016-05-09 14:24:00 -0500 |
commit | 231aafdaf4c9abbc812139bd6f909008fec91cd7 (patch) | |
tree | fcb9f7445dd5d955fae4b6bee33884344997be5d /Core | |
parent | 9e447f3c6d7cd5ac712a967840edcd504f488ca2 (diff) | |
parent | 1eebd2bd10b38c068aa05aa123201c53def1bc6d (diff) | |
download | symfony-security-231aafdaf4c9abbc812139bd6f909008fec91cd7.zip symfony-security-231aafdaf4c9abbc812139bd6f909008fec91cd7.tar.gz symfony-security-231aafdaf4c9abbc812139bd6f909008fec91cd7.tar.bz2 |
Merge branch '2.7' into 2.8
* 2.7:
limited the maximum length of a submitted username
Diffstat (limited to 'Core')
-rw-r--r-- | Core/Security.php | 1 | ||||
-rw-r--r-- | Core/SecurityContextInterface.php | 1 |
2 files changed, 2 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; } diff --git a/Core/SecurityContextInterface.php b/Core/SecurityContextInterface.php index 2a06ca4..73edd23 100644 --- a/Core/SecurityContextInterface.php +++ b/Core/SecurityContextInterface.php @@ -26,4 +26,5 @@ interface SecurityContextInterface extends TokenStorageInterface, AuthorizationC const ACCESS_DENIED_ERROR = Security::ACCESS_DENIED_ERROR; const AUTHENTICATION_ERROR = Security::AUTHENTICATION_ERROR; const LAST_USERNAME = Security::LAST_USERNAME; + const MAX_USERNAME_LENGTH = Security::MAX_USERNAME_LENGTH; } |