Repository navigation
Connexion: ajout d'un message d'erreur pour les utilisateurs se connectant en SSO sur un compte désactivé - #6875
Merged
Merged
Conversation
tonial
reviewed
Sep 19, 2025
|
|
||
| def format_message_html(self, identity_provider): | ||
| return format_html( | ||
| "La connexion via {} a fonctionné mais le compte lié sur les Emplois de l’inclusion est désactivé. " |
Contributor
There was a problem hiding this comment.
tu n'as pas envie de mettre l'email ou le sub ou le public ID pour retrouver facilement le compte ?
Contributor
Author
There was a problem hiding this comment.
L'email cela peut-être source de confusion si l'email du SSO ne correspond pas à l'email de notre compte.
On pourrait mettre le sub mais j'ai peur que cela ne parle pas aux utilisateurs...
Contributor
Author
There was a problem hiding this comment.
Mais effectivement pour le support le sub ou public ID me semble être une bonne idée.
xavfernandez
force-pushed
the
xf/inactive_user_sso
branch
from
September 22, 2025 08:16
a93813d to
20b0941
Compare
francoisfreitag
approved these changes
Sep 22, 2025
xavfernandez
force-pushed
the
xf/inactive_user_sso
branch
from
September 22, 2025 14:54
20b0941 to
5758ce1
Compare
xavfernandez
added this pull request to the merge queue
Sep 23, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤔 Pourquoi ?
Sinon, le login réussit et la session est mise en place mais pour un utilisateur inactif...
On lui redemande donc de se logger tout de suite, sans aucun message d'erreur 😬
🍰 Comment ?
🚨 À vérifier
🏝️ Comment tester ?
💻 Captures d'écran