[open-ils-commits] r18122 - branches/rel_2_0/Open-ILS/examples (phasefx)

svn at svn.open-ils.org svn at svn.open-ils.org
Fri Oct 1 14:07:54 EDT 2010


Author: phasefx
Date: 2010-10-01 14:07:50 -0400 (Fri, 01 Oct 2010)
New Revision: 18122

Modified:
   branches/rel_2_0/Open-ILS/examples/remoteauth.cgi
Log:
use an opac login here, which doesn't require the STAFF_LOGIN permission by default

Modified: branches/rel_2_0/Open-ILS/examples/remoteauth.cgi
===================================================================
--- branches/rel_2_0/Open-ILS/examples/remoteauth.cgi	2010-10-01 18:07:00 UTC (rev 18121)
+++ branches/rel_2_0/Open-ILS/examples/remoteauth.cgi	2010-10-01 18:07:50 UTC (rev 18122)
@@ -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