]> BookStack Code Mirror - bookstack/blob - app/Exceptions/UserTokenExpiredException.php
Added crude example of captcha usage
[bookstack] / app / Exceptions / UserTokenExpiredException.php
1 <?php namespace BookStack\Exceptions;
2
3 class UserTokenExpiredException extends \Exception {
4
5     public $userId;
6
7     /**
8      * UserTokenExpiredException constructor.
9      * @param string $message
10      * @param int $userId
11      */
12     public function __construct(string $message, int $userId)
13     {
14         $this->userId = $userId;
15         parent::__construct($message);
16     }
17
18
19 }