0005-auth_fc-allow-showing-messages-on-authorization-requ.patch
src/authentic2_auth_fc/views.py | ||
---|---|---|
70 | 70 | |
71 | 71 |
_next_url = None |
72 | 72 |
service = None |
73 |
display_message_on_redirect = False |
|
73 | 74 | |
74 | 75 |
@property |
75 | 76 |
def next_url(self): |
... | ... | |
232 | 233 | |
233 | 234 |
response = HttpResponseRedirect(url) |
234 | 235 |
# prevent unshown messages to block the navigation to FranceConnect |
235 |
response.display_message = False
|
|
236 |
response.display_message = self.display_message_on_redirect
|
|
236 | 237 | |
237 | 238 |
# store nonce_seed in a browser cookie to prevent CSRF and check nonce |
238 | 239 |
# in id_token on return by generating the hash chain again |
239 |
- |