diff options
author | provokateurin <kate@provokateurin.de> | 2024-01-18 10:38:37 +0100 |
---|---|---|
committer | provokateurin <kate@provokateurin.de> | 2024-01-18 16:14:17 +0100 |
commit | b64ab5fba86f55e59ebb8983a143d640d0c6a7a1 (patch) | |
tree | cfcf4a64885acf9f2f19a163014094d706c2ba10 /core/Controller/LoginController.php | |
parent | 14c57ee708101d31838d468e8e5923e9dd8c7919 (diff) | |
download | nextcloud-server-b64ab5fba86f55e59ebb8983a143d640d0c6a7a1.tar.gz nextcloud-server-b64ab5fba86f55e59ebb8983a143d640d0c6a7a1.zip |
refactor: Migrate IgnoreOpenAPI attributes to OpenAPI
Signed-off-by: provokateurin <kate@provokateurin.de>
Diffstat (limited to 'core/Controller/LoginController.php')
-rw-r--r-- | core/Controller/LoginController.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Controller/LoginController.php b/core/Controller/LoginController.php index a1e2b08ab21..beeb2034fb7 100644 --- a/core/Controller/LoginController.php +++ b/core/Controller/LoginController.php @@ -43,7 +43,7 @@ use OC\User\Session; use OC_App; use OCP\AppFramework\Controller; use OCP\AppFramework\Http; -use OCP\AppFramework\Http\Attribute\IgnoreOpenAPI; +use OCP\AppFramework\Http\Attribute\OpenAPI; use OCP\AppFramework\Http\Attribute\UseSession; use OCP\AppFramework\Http\DataResponse; use OCP\AppFramework\Http\RedirectResponse; @@ -61,7 +61,7 @@ use OCP\Notification\IManager; use OCP\Security\Bruteforce\IThrottler; use OCP\Util; -#[IgnoreOpenAPI] +#[OpenAPI(scope: OpenAPI::SCOPE_IGNORE)] class LoginController extends Controller { public const LOGIN_MSG_INVALIDPASSWORD = 'invalidpassword'; public const LOGIN_MSG_USERDISABLED = 'userdisabled'; |