|
Lines 192-198
sub get_template_and_user {
Link Here
|
| 192 |
if ( |
192 |
if ( |
| 193 |
# If the user logged in is the SCO user and they try to go out of the SCO module, |
193 |
# If the user logged in is the SCO user and they try to go out of the SCO module, |
| 194 |
# log the user out removing the CGISESSID cookie |
194 |
# log the user out removing the CGISESSID cookie |
| 195 |
$in->{template_name} !~ m|sco/| |
195 |
$in->{template_name} !~ m|sco/| && $in->{template_name} !~ m|errors/| |
| 196 |
&& C4::Context->preference('AutoSelfCheckID') |
196 |
&& C4::Context->preference('AutoSelfCheckID') |
| 197 |
&& $user eq C4::Context->preference('AutoSelfCheckID') |
197 |
&& $user eq C4::Context->preference('AutoSelfCheckID') |
| 198 |
) |
198 |
) |
| 199 |
- |
|
|