(string $token, array $share)
| 257 | } |
| 258 | |
| 259 | private function hasShareAccess(string $token, array $share): bool |
| 260 | { |
| 261 | return $share['password'] === null |
| 262 | || $this->DataSession->isShareAuthenticated($token, $share['password']); |
| 263 | } |
| 264 | |
| 265 | private function passwordPrompt(string $token, bool $wrongPassword): TemplateResponse |
| 266 | { |
no test coverage detected