From eec1f037d50900f975dc83810fc526188102088d Mon Sep 17 00:00:00 2001 From: Julien Veyssier Date: Tue, 19 Aug 2025 14:30:45 +0200 Subject: [PATCH] chore: use OCP InvalidTokenException instead of the OC one Signed-off-by: Julien Veyssier --- lib/Controller/LoginController.php | 2 +- psalm.xml | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/Controller/LoginController.php b/lib/Controller/LoginController.php index 73ab0a191..e15d9ae19 100644 --- a/lib/Controller/LoginController.php +++ b/lib/Controller/LoginController.php @@ -13,7 +13,6 @@ use GuzzleHttp\Exception\ClientException; use GuzzleHttp\Exception\ServerException; -use OC\Authentication\Exceptions\InvalidTokenException; use OC\Authentication\Token\IProvider; use OC\User\Session as OC_UserSession; use OCA\UserOIDC\AppInfo\Application; @@ -39,6 +38,7 @@ use OCP\AppFramework\Http\RedirectResponse; use OCP\AppFramework\Http\TemplateResponse; use OCP\AppFramework\Utility\ITimeFactory; +use OCP\Authentication\Exceptions\InvalidTokenException; use OCP\Authentication\Token\IToken; use OCP\DB\Exception; use OCP\EventDispatcher\IEventDispatcher; diff --git a/psalm.xml b/psalm.xml index 36d94a8bc..1d059fd4a 100644 --- a/psalm.xml +++ b/psalm.xml @@ -40,7 +40,6 @@ -