Lines 254-259
sub get_template_and_user {
Link Here
|
254 |
-secure => ( C4::Context->https_enabled() ? 1 : 0 ), |
254 |
-secure => ( C4::Context->https_enabled() ? 1 : 0 ), |
255 |
)); |
255 |
)); |
256 |
|
256 |
|
|
|
257 |
#NOTE: This JWT should only be used by the self-check controllers |
258 |
$cookie = $cookie_mgr->replace_in_list( $cookie, $in->{query}->cookie( |
259 |
-name => 'JWT', |
260 |
-value => '', |
261 |
-HttpOnly => 1, |
262 |
-secure => ( C4::Context->https_enabled() ? 1 : 0 ), |
263 |
-sameSite => 'Lax', |
264 |
)); |
265 |
|
257 |
$template->param( |
266 |
$template->param( |
258 |
loginprompt => 1, |
267 |
loginprompt => 1, |
259 |
script_name => get_script_name(), |
268 |
script_name => get_script_name(), |
260 |
- |
|
|