Searched full:token (Results 1 – 17 of 17) sorted by relevance
/webtrees/app/Http/RequestHandlers/ |
H A D | PasswordRequestAction.php | 92 $token = Str::random(self::TOKEN_LENGTH); 95 'token' => $token, 99 $user->setPreference('password-token', $token); 100 $user->setPreference('password-token-expire', $expire);
|
H A D | PasswordResetPage.php | 61 $token = $request->getAttribute('token'); 63 $user = $this->user_service->findByToken($token); 70 'token' => $token,
|
H A D | PasswordResetAction.php | 58 $token = $request->getAttribute('token'); 59 $user = $this->user_service->findByToken($token); 64 $user->setPreference('password-token', ''); 65 $user->setPreference('password-token-expire', '');
|
H A D | VerifyEmail.php | 68 $token = $request->getAttribute('token'); 76 …$user instanceof User && $user->getPreference(UserInterface::PREF_VERIFICATION_TOKEN) === $token) {
|
H A D | RegisterAction.php | 127 $token = Str::random(32); 134 $user->setPreference(UserInterface::PREF_VERIFICATION_TOKEN, $token); 147 'token' => $token,
|
/webtrees/resources/views/ |
H A D | password-reset-page.phtml | 12 * @var string $token 22 <form method="post" action="<?= e(route(PasswordResetAction::class, ['token' => $token, 'tree' => $…
|
/webtrees/app/Services/ |
H A D | UserService.php | 103 * 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 D | PasswordResetPageTest.php | 46 ->withAttribute('token', '1234'); 63 ->withAttribute('token', '4321');
|
/webtrees/app/Helpers/ |
H A D | functions.php | 55 * Generate a CSRF token form field. 65 * Get the CSRF token value.
|
/webtrees/.github/workflows/ |
H A D | phpunit.yaml | 35 token: ${{ secrets.CODECOV_TOKEN }}
|
/webtrees/app/Http/Middleware/ |
H A D | CheckCsrf.php | 61 $client_token = $params['_csrf'] ?? $request->getHeaderLine('X-CSRF-TOKEN');
|
/webtrees/app/Http/Routes/ |
H A D | WebRoutes.php | 653 $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 D | webtrees.js | 74 '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 D | README.md | 4 [![codecov](https://codecov.io/gh/fisharebest/webtrees/branch/main/graph/badge.svg?token=zREQBP4GBs…
|
H A D | phpstan-baseline.neon | 2272 …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 D | webtrees.min.js | 1 …TOKEN":n,"x-requested-with":"XMLHttpRequest"})};return fetch(e,o,t)},e.detectScript=function(e){fo…
|
/webtrees/public/ckeditor-4.15.1-custom/ |
H A D | CHANGES.md | 927 …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 …
|