(string $token, array $share)
| 243 | } |
| 244 | |
| 245 | private function hasShareAccess(string $token, array $share): bool |
| 246 | { |
| 247 | return $share['password'] === null |
| 248 | || $this->DataSession->isShareAuthenticated($token, $share['password']); |
| 249 | } |
| 250 | |
| 251 | private function passwordPrompt(string $token, bool $wrongPassword): TemplateResponse |
| 252 | { |
no test coverage detected