diff options
author | Johannes Schmitt <schmittjoh@gmail.com> | 2011-02-15 21:17:36 +0100 |
---|---|---|
committer | Fabien Potencier <fabien.potencier@gmail.com> | 2011-02-16 23:00:27 +0100 |
commit | 25816174d0898cbb53ac8df3da5e4989ad7fef63 (patch) | |
tree | 73ab48c8154bea4ab2c2435f97861ba020e88f26 /Core/Exception/InvalidCsrfTokenException.php | |
parent | 042bd0287356eebf025e60883c9466cc007fc148 (diff) | |
download | symfony-security-25816174d0898cbb53ac8df3da5e4989ad7fef63.zip symfony-security-25816174d0898cbb53ac8df3da5e4989ad7fef63.tar.gz symfony-security-25816174d0898cbb53ac8df3da5e4989ad7fef63.tar.bz2 |
[Security/Http] Adds CSRF protection to the form-login
Diffstat (limited to 'Core/Exception/InvalidCsrfTokenException.php')
-rw-r--r-- | Core/Exception/InvalidCsrfTokenException.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Core/Exception/InvalidCsrfTokenException.php b/Core/Exception/InvalidCsrfTokenException.php new file mode 100644 index 0000000..f19bcbf --- /dev/null +++ b/Core/Exception/InvalidCsrfTokenException.php @@ -0,0 +1,12 @@ +<?php + +namespace Symfony\Component\Security\Core\Exception; + +/** + * This exception is thrown when the csrf token is invalid. + * + * @author Johannes M. Schmitt <schmittjoh@gmail.com> + */ +class InvalidCsrfTokenException extends AuthenticationException +{ +}
\ No newline at end of file |