]> git.immae.eu Git - github/shaarli/Shaarli.git/blame - application/front/exceptions/LoginBannedException.php
Merge pull request #1616 from dimtion/fix-api-redirect
[github/shaarli/Shaarli.git] / application / front / exceptions / LoginBannedException.php
CommitLineData
6c50a6cc
A
1<?php
2
3declare(strict_types=1);
4
5namespace Shaarli\Front\Exception;
6
2899ebb5 7class LoginBannedException extends ShaarliFrontException
6c50a6cc
A
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}