Home
last modified time | relevance | path

Searched full:token (Results 1 – 17 of 17) sorted by relevance

/webtrees/app/Http/RequestHandlers/
H A DPasswordRequestAction.php92 $token = Str::random(self::TOKEN_LENGTH);
95 'token' => $token,
99 $user->setPreference('password-token', $token);
100 $user->setPreference('password-token-expire', $expire);
H A DPasswordResetPage.php61 $token = $request->getAttribute('token');
63 $user = $this->user_service->findByToken($token);
70 'token' => $token,
H A DPasswordResetAction.php58 $token = $request->getAttribute('token');
59 $user = $this->user_service->findByToken($token);
64 $user->setPreference('password-token', '');
65 $user->setPreference('password-token-expire', '');
H A DVerifyEmail.php68 $token = $request->getAttribute('token');
76 …$user instanceof User && $user->getPreference(UserInterface::PREF_VERIFICATION_TOKEN) === $token) {
H A DRegisterAction.php127 $token = Str::random(32);
134 $user->setPreference(UserInterface::PREF_VERIFICATION_TOKEN, $token);
147 'token' => $token,
/webtrees/resources/views/
H A Dpassword-reset-page.phtml12 * @var string $token
22 <form method="post" action="<?= e(route(PasswordResetAction::class, ['token' => $token, 'tree' => $…
/webtrees/app/Services/
H A DUserService.php103 * Find the user with a specified password reset token.
105 public function findByToken(string $token): User|null argument
109 ->where('us1.setting_name', '=', 'password-token')
110 ->where('us1.setting_value', '=', $token)
112 ->where('us2.setting_name', '=', 'password-token-expire')
/webtrees/tests/app/Http/RequestHandlers/
H A DPasswordResetPageTest.php46 ->withAttribute('token', '1234');
63 ->withAttribute('token', '4321');
/webtrees/app/Helpers/
H A Dfunctions.php55 * Generate a CSRF token form field.
65 * Get the CSRF token value.
/webtrees/.github/workflows/
H A Dphpunit.yaml35 token: ${{ secrets.CODECOV_TOKEN }}
/webtrees/app/Http/Middleware/
H A DCheckCsrf.php61 $client_token = $params['_csrf'] ?? $request->getHeaderLine('X-CSRF-TOKEN');
/webtrees/app/Http/Routes/
H A DWebRoutes.php653 $router->get(PasswordResetPage::class, '/password-reset/{token}{/tree}');
654 $router->post(PasswordResetAction::class, '/password-reset/{token}{/tree}');
655 $router->get(VerifyEmail::class, '/verify/{username}/{token}{/tree}');
/webtrees/resources/js/
H A Dwebtrees.js74 'X-CSRF-TOKEN': csrfToken,
904 // Send the CSRF token on all AJAX requests
907 'X-CSRF-TOKEN': $('meta[name=csrf]').attr('content')
/webtrees/
H A DREADME.md4 [![codecov](https://codecov.io/gh/fisharebest/webtrees/branch/main/graph/badge.svg?token=zREQBP4GBs…
H A Dphpstan-baseline.neon2272 …message: '#^Parameter \#1 \$token of method Fisharebest\\Webtrees\\Services\\UserService\:\:findBy…
2278 …message: '#^Parameter \#1 \$token of method Fisharebest\\Webtrees\\Services\\UserService\:\:findBy…
/webtrees/public/js/
H A Dwebtrees.min.js1TOKEN":n,"x-requested-with":"XMLHttpRequest"})};return fetch(e,o,t)},e.detectScript=function(e){fo…
/webtrees/public/ckeditor-4.15.1-custom/
H A DCHANGES.md927 …tor4/latest/api/CKEDITOR_tools.html#method-getCsrfToken) method. The CSRF token is now automatical…
1118 * [#13454](https://dev.ckeditor.com/ticket/13454): Removed unused `lang.image.alertUrl` token from …