aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/front/exceptions/LoginBannedException.php
blob: 79d0ea152ad21428102cc99a9ee2117cac4509cc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php

declare(strict_types=1);

namespace Shaarli\Front\Exception;

class LoginBannedException extends ShaarliFrontException
{
    public function __construct()
    {
        $message = t('You have been banned after too many failed login attempts. Try again later.');

        parent::__construct($message, 401);
    }
}