Merge pull request #17965 from nextcloud/fix/noid/strict-controller-userid
Fixes a 500 without userid
This commit is contained in:
commit
bb77c1447b
|
@ -50,7 +50,7 @@ class HelpController extends Controller {
|
||||||
IRequest $request,
|
IRequest $request,
|
||||||
INavigationManager $navigationManager,
|
INavigationManager $navigationManager,
|
||||||
IURLGenerator $urlGenerator,
|
IURLGenerator $urlGenerator,
|
||||||
string $userId,
|
?string $userId,
|
||||||
IGroupManager $groupManager
|
IGroupManager $groupManager
|
||||||
) {
|
) {
|
||||||
parent::__construct($appName, $request);
|
parent::__construct($appName, $request);
|
||||||
|
|
|
@ -37,13 +37,8 @@ use OC\AppFramework\Middleware\Security\Exceptions\NotAdminException;
|
||||||
use OC\AppFramework\Middleware\Security\Exceptions\NotLoggedInException;
|
use OC\AppFramework\Middleware\Security\Exceptions\NotLoggedInException;
|
||||||
use OC\AppFramework\Middleware\Security\Exceptions\StrictCookieMissingException;
|
use OC\AppFramework\Middleware\Security\Exceptions\StrictCookieMissingException;
|
||||||
use OC\AppFramework\Utility\ControllerMethodReflector;
|
use OC\AppFramework\Utility\ControllerMethodReflector;
|
||||||
use OC\Security\CSP\ContentSecurityPolicyManager;
|
|
||||||
use OC\Security\CSP\ContentSecurityPolicyNonceManager;
|
|
||||||
use OC\Security\CSRF\CsrfTokenManager;
|
|
||||||
use OCP\App\AppPathNotFoundException;
|
use OCP\App\AppPathNotFoundException;
|
||||||
use OCP\App\IAppManager;
|
use OCP\App\IAppManager;
|
||||||
use OCP\AppFramework\Http\ContentSecurityPolicy;
|
|
||||||
use OCP\AppFramework\Http\EmptyContentSecurityPolicy;
|
|
||||||
use OCP\AppFramework\Http\RedirectResponse;
|
use OCP\AppFramework\Http\RedirectResponse;
|
||||||
use OCP\AppFramework\Http\TemplateResponse;
|
use OCP\AppFramework\Http\TemplateResponse;
|
||||||
use OCP\AppFramework\Middleware;
|
use OCP\AppFramework\Middleware;
|
||||||
|
|
Loading…
Reference in New Issue