]> git.immae.eu Git - github/shaarli/Shaarli.git/blame_incremental - application/front/exceptions/LoginBannedException.php
Vintage theme: display global messages
[github/shaarli/Shaarli.git] / application / front / exceptions / LoginBannedException.php
... / ...
CommitLineData
1<?php
2
3declare(strict_types=1);
4
5namespace Shaarli\Front\Exception;
6
7class 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}