]> git.immae.eu Git - github/shaarli/Shaarli.git/blob - WrongTokenException.php
42002720d0eb67ffc66dc2fec7932ecb0cfe849e
[github/shaarli/Shaarli.git] / WrongTokenException.php
1 <?php
2
3 declare(strict_types=1);
4
5 namespace Shaarli\Front\Exception;
6
7 /**
8 * Class OpenShaarliPasswordException
9 *
10 * Raised if the user tries to perform an action with an invalid XSRF token.
11 */
12 class WrongTokenException extends ShaarliFrontException
13 {
14 public function __construct()
15 {
16 parent::__construct(t('Wrong token.'), 403);
17 }
18 }