[open-ils-commits] r18121 - trunk/Open-ILS/examples (phasefx)
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Oct 1 14:07:05 EDT 2010
Author: phasefx
Date: 2010-10-01 14:07:00 -0400 (Fri, 01 Oct 2010)
New Revision: 18121
Modified:
trunk/Open-ILS/examples/remoteauth.cgi
Log:
use an opac login here, which doesn't require the STAFF_LOGIN permission by default
Modified: trunk/Open-ILS/examples/remoteauth.cgi
===================================================================
--- trunk/Open-ILS/examples/remoteauth.cgi 2010-10-01 15:59:17 UTC (rev 18120)
+++ trunk/Open-ILS/examples/remoteauth.cgi 2010-10-01 18:07:00 UTC (rev 18121)
@@ -69,7 +69,7 @@
if ($seed) {
my $response = OpenSRF::AppSession
->create('open-ils.auth')
- ->request( 'open-ils.auth.authenticate.complete', { $nametype => $u, password => md5_hex($seed . md5_hex($p)), type => 'temp' })
+ ->request( 'open-ils.auth.authenticate.complete', { $nametype => $u, password => md5_hex($seed . md5_hex($p)), type => 'opac' })
->gather(1);
if ($response->{payload}->{authtoken}) {
my $user = OpenSRF::AppSession
More information about the open-ils-commits
mailing list