mirror of
https://github.com/FreshRSS/Extensions.git
synced 2026-11-04 10:48:40 +00:00
https://github.com/PHPCSStandards/PHP_CodeSniffer/wiki/Version-4.0-User-Upgrade-Guide Related to https://github.com/FreshRSS/FreshRSS/pull/7993
19 lines
411 B
PHP
19 lines
411 B
PHP
<?php
|
|
declare(strict_types=1);
|
|
|
|
class FreshExtension_user_Controller extends FreshRSS_user_Controller {
|
|
/**
|
|
* @throws FreshRSS_Context_Exception
|
|
* @throws Minz_PermissionDeniedException
|
|
*/
|
|
public function createAction(): void {
|
|
if (!CaptchaExtension::initCaptcha()) {
|
|
return;
|
|
}
|
|
$csp = CaptchaExtension::loadDependencies();
|
|
if (!empty($csp)) $this->_csp($csp);
|
|
|
|
parent::createAction();
|
|
}
|
|
}
|