aboutsummaryrefslogblamecommitdiffhomepage
path: root/application/front/exceptions/WrongTokenException.php
blob: 42002720d0eb67ffc66dc2fec7932ecb0cfe849e (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

















                                                                            
<?php

declare(strict_types=1);

namespace Shaarli\Front\Exception;

/**
 * Class OpenShaarliPasswordException
 *
 * Raised if the user tries to perform an action with an invalid XSRF token.
 */
class WrongTokenException extends ShaarliFrontException
{
    public function __construct()
    {
        parent::__construct(t('Wrong token.'), 403);
    }
}