-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Sécurité - Login] Ne pas logger automatiquement les utilisateurs à la réinitialisation de mot de passe #2144
Conversation
$loginLinkDetails = $this->loginLinkHandler->createLoginLink($notificationMail->getUser()); | ||
$user = $notificationMail->getUser(); | ||
$this->userManager->loadUserTokenForUser($user); | ||
$link = $this->generateLink('activate_account', ['user' => $user->getId(), 'token' => $user->getToken()]); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Plutôt s'appuyer sur l'uuid que les id généré en auto-increment
src/Service/Mailer/Mail/Account/AccountActivationReminderMailer.php
Outdated
Show resolved
Hide resolved
Tests OK |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pas de commentaire en plus, tests OK
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pas testé, juste relevé une typo :)
|
J'ai ajouté ce test et c'est OK
|
Ticket
#2034
Description
Changements apportés
Tests
make console app="add-user"
make console app="remind-inactive-user"
make console app="reinit-admin-passwords"