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

Method passwordPrompt

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

Source from the content-addressed store, hash-verified

249 }
250
251 private function passwordPrompt(string $token, bool $wrongPassword): TemplateResponse
252 {
253 return new TemplateResponse($this->appName, 'authenticate', [
254 'wrongpw' => $wrongPassword,
255 'action' => $this->urlGenerator->linkToRoute($this->appName . '.page.authenticatePassword', ['token' => $token]),
256 ], 'guest');
257 }
258
259 private function redirectToLogin(string $token): RedirectResponse
260 {

Callers 3

authenticatePasswordMethod · 0.95
indexPublicMethod · 0.95
indexPublicMinMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected