aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/front/exceptions/LoginBannedException.php
blob: b31a4a14ead0015f49195b11c0e584193abfa24c (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 ShaarliException
{
    public function __construct()
    {
        $message = t('You have been banned after too many failed login attempts. Try again later.');

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