]>
Commit | Line | Data |
---|---|---|
1 | <?php | |
2 | ||
3 | declare(strict_types=1); | |
4 | ||
5 | namespace Shaarli\Front\Exception; | |
6 | ||
7 | class LoginBannedException extends ShaarliFrontException | |
8 | { | |
9 | public function __construct() | |
10 | { | |
11 | $message = t('You have been banned after too many failed login attempts. Try again later.'); | |
12 | ||
13 | parent::__construct($message, 401); | |
14 | } | |
15 | } |