-
Notifications
You must be signed in to change notification settings - Fork 25
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
Permettre l'autoconnection à proconnect sur les liens vers la communauté (DSP) [GEN-2389] #5393
Conversation
|
||
@register.simple_tag | ||
def autologin_proconnect(url, user): | ||
if user.is_authenticated and user.is_proconnect: |
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.
Créer cette fonction juste pour ici, ça m'attriste beaucoup.
if user.is_authenticated and user.is_proconnect: | |
if user.is_authenticated and user.identity_provider == IdentityProvider.PRO_CONNECT: |
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.
ça ne mérite pas de tristesse … je l'ai tout de même enlevé ^^
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.
Je suis d'un naturel sensible 😿
50b8f41
to
4783660
Compare
4783660
to
78811ea
Compare
🤔 Pourquoi ?
lien avec l'issue communaute #846
changelog : connexion
🍰 Comment ?
🚨 À vérifier
🏝️ Comment tester