From: Galen Charlton Date: Mon, 8 Feb 2010 14:01:25 +0000 (-0500) Subject: set koha_login_context in order to get auto-login for SCO working X-Git-Tag: v3.02.00-alpha2~471 X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=commitdiff_plain;h=372ebb8bdd017a1b18c3f867944851ed7f5dbe98;p=koha_fer set koha_login_context in order to get auto-login for SCO working Signed-off-by: Galen Charlton --- diff --git a/opac/sco/sco-main.pl b/opac/sco/sco-main.pl index af9d996b7a..3295a9240c 100755 --- a/opac/sco/sco-main.pl +++ b/opac/sco/sco-main.pl @@ -35,8 +35,9 @@ if (C4::Context->preference('AutoSelfCheckAllowed')) { my $AutoSelfCheckID = C4::Context->preference('AutoSelfCheckID'); my $AutoSelfCheckPass = C4::Context->preference('AutoSelfCheckPass'); - $query->param(-name=>'userid',-values=>[$AutoSelfCheckID]), - $query->param(-name=>'password',-values=>[$AutoSelfCheckPass]), + $query->param(-name=>'userid',-values=>[$AutoSelfCheckID]); + $query->param(-name=>'password',-values=>[$AutoSelfCheckPass]); + $query->param(-name=>'koha_login_context',-values=>['sco']); } my ($template, $loggedinuser, $cookie) = get_template_and_user({ template_name => "sco/sco-main.tmpl",