Incorrect error type for rejected credentials
authorAlexander Ebert <ebert@woltlab.com>
Sat, 5 Feb 2022 15:01:31 +0000 (16:01 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Sat, 5 Feb 2022 15:01:31 +0000 (16:01 +0100)
wcfsetup/install/files/lib/data/package/update/PackageUpdateAction.class.php

index 42df202f7e3d9d44459abb176a1a5a048241cef2..fb526a90a23ba7833a0ca8d691fcd115d42604f1 100644 (file)
@@ -752,7 +752,7 @@ class PackageUpdateAction extends AbstractDatabaseObjectAction
         } catch (PackageUpdateUnauthorizedException $e) {
             return [
                 'template' => $e->getRenderedTemplate(),
-                'type' => 'authenticationRequired',
+                'type' => 'authorizationRequired',
             ];
         }