]> git.immae.eu Git - github/shaarli/Shaarli.git/blob - application/front/exceptions/WrongTokenException.php
Merge pull request #1512 from shaarli/dependabot/npm_and_yarn/elliptic-6.5.3
[github/shaarli/Shaarli.git] / application / front / exceptions / 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 }