use wcf\form\AbstractFormBuilderForm;
use wcf\system\application\ApplicationHandler;
use wcf\system\exception\IllegalLinkException;
+use wcf\system\exception\PermissionDeniedException;
use wcf\system\form\builder\field\user\UserPasswordField;
use wcf\system\form\builder\TemplateFormNode;
use wcf\system\request\LinkHandler;
throw new IllegalLinkException();
}
+ if (!WCF::getUser()->userID) {
+ throw new PermissionDeniedException();
+ }
+
if (!WCF::getSession()->needsReauthentication()) {
$this->performRedirect();
}