MCPcopy Create free account
hub / github.com/Rello/analytics / passwordPrompt

Method passwordPrompt

lib/Controller/PageController.php:265–271  ·  view source on GitHub ↗
(string $token, bool $wrongPassword)

Source from the content-addressed store, hash-verified

263 }
264
265 private function passwordPrompt(string $token, bool $wrongPassword): TemplateResponse
266 {
267 return new TemplateResponse($this->appName, 'authenticate', [
268 'wrongpw' => $wrongPassword,
269 'action' => $this->urlGenerator->linkToRoute($this->appName . '.page.authenticatePassword', ['token' => $token]),
270 ], 'guest');
271 }
272
273 private function redirectToLogin(string $token): RedirectResponse
274 {

Callers 3

authenticatePasswordMethod · 0.95
indexPublicMethod · 0.95
indexPublicMinMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected