summaryrefslogtreecommitdiffstats
path: root/core/Controller/LostController.php
diff options
context:
space:
mode:
authorprovokateurin <kate@provokateurin.de>2024-01-18 10:38:37 +0100
committerprovokateurin <kate@provokateurin.de>2024-01-18 16:14:17 +0100
commitb64ab5fba86f55e59ebb8983a143d640d0c6a7a1 (patch)
treecfcf4a64885acf9f2f19a163014094d706c2ba10 /core/Controller/LostController.php
parent14c57ee708101d31838d468e8e5923e9dd8c7919 (diff)
downloadnextcloud-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/LostController.php')
-rw-r--r--core/Controller/LostController.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Controller/LostController.php b/core/Controller/LostController.php
index 56b8b8eadcb..d6b13a4cb96 100644
--- a/core/Controller/LostController.php
+++ b/core/Controller/LostController.php
@@ -44,7 +44,7 @@ use OC\Core\Exception\ResetPasswordException;
use OC\Security\RateLimiting\Exception\RateLimitExceededException;
use OC\Security\RateLimiting\Limiter;
use OCP\AppFramework\Controller;
-use OCP\AppFramework\Http\Attribute\IgnoreOpenAPI;
+use OCP\AppFramework\Http\Attribute\OpenAPI;
use OCP\AppFramework\Http\JSONResponse;
use OCP\AppFramework\Http\TemplateResponse;
use OCP\AppFramework\Services\IInitialState;
@@ -74,7 +74,7 @@ use function reset;
*
* @package OC\Core\Controller
*/
-#[IgnoreOpenAPI]
+#[OpenAPI(scope: OpenAPI::SCOPE_IGNORE)]
class LostController extends Controller {
protected string $from;