0005-auth_fc-allow-showing-messages-on-authorization-requ.patch
src/authentic2_auth_fc/views.py | ||
---|---|---|
68 | 68 |
""" |
69 | 69 | |
70 | 70 |
_next_url = None |
71 |
display_message_on_redirect = False |
|
71 | 72 | |
72 | 73 |
@property |
73 | 74 |
def next_url(self): |
... | ... | |
218 | 219 | |
219 | 220 |
response = HttpResponseRedirect(url) |
220 | 221 |
# prevent unshown messages to block the navigation to FranceConnect |
221 |
response.display_message = False
|
|
222 |
response.display_message = self.display_message_on_redirect
|
|
222 | 223 | |
223 | 224 |
# store nonce_seed in a browser cookie to prevent CSRF and check nonce |
224 | 225 |
# in id_token on return by generating the hash chain again |
225 |
- |