provideInitialState('files_sharing', 'sharingToken', $_['share']->getToken()); $initialState->provideInitialState('core', 'publicShareAuth', [ // if the password reset was processed (not caring about result) 'showPasswordReset' => $showPasswordReset, 'shareType' => $_['share']->getShareType(), 'invalidPassword' => $_['wrongpw'] ?? null, 'canResendPassword' => $_['share']->getShareType() === \OCP\Share\IShare::TYPE_EMAIL && !$_['share']->getSendPasswordByTalk(), ]); ?>