Lines 185-191
sub get_template_and_user {
Link Here
|
185 |
if ( |
185 |
if ( |
186 |
# If the user logged in is the SCO user and they try to go out of the SCO module, |
186 |
# If the user logged in is the SCO user and they try to go out of the SCO module, |
187 |
# log the user out removing the CGISESSID cookie |
187 |
# log the user out removing the CGISESSID cookie |
188 |
$in->{template_name} !~ m|sco/| |
188 |
$in->{template_name} !~ m|sco/| && $in->{template_name} !~ m|errors/| |
189 |
&& C4::Context->preference('AutoSelfCheckID') |
189 |
&& C4::Context->preference('AutoSelfCheckID') |
190 |
&& $user eq C4::Context->preference('AutoSelfCheckID') |
190 |
&& $user eq C4::Context->preference('AutoSelfCheckID') |
191 |
) |
191 |
) |
192 |
- |
|
|