X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/b9a58859a4ef14b7971ca7d07318e1ac6f276b40..refs/pull/5280/head:/app/Exceptions/StoppedAuthenticationException.php diff --git a/app/Exceptions/StoppedAuthenticationException.php b/app/Exceptions/StoppedAuthenticationException.php index b9aadb03f..8a917bc52 100644 --- a/app/Exceptions/StoppedAuthenticationException.php +++ b/app/Exceptions/StoppedAuthenticationException.php @@ -2,23 +2,17 @@ namespace BookStack\Exceptions; -use BookStack\Auth\Access\LoginService; -use BookStack\Auth\User; +use BookStack\Access\LoginService; +use BookStack\Users\Models\User; use Illuminate\Contracts\Support\Responsable; use Illuminate\Http\Request; class StoppedAuthenticationException extends \Exception implements Responsable { - protected $user; - protected $loginService; - - /** - * StoppedAuthenticationException constructor. - */ - public function __construct(User $user, LoginService $loginService) - { - $this->user = $user; - $this->loginService = $loginService; + public function __construct( + protected User $user, + protected LoginService $loginService + ) { parent::__construct(); }