updated to work with new auth params
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 9 Mar 2006 15:09:13 +0000 (15:09 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 9 Mar 2006 15:09:13 +0000 (15:09 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@3287 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/support-scripts/oils_header.pl

index 37c3989..4ff2301 100755 (executable)
@@ -143,8 +143,11 @@ sub oils_login {
        err("No auth seed") unless $seed;
 
        my $response = $apputils->simplereq( $AUTH, 
-               'open-ils.auth.authenticate.complete', $username, 
-               md5_hex($seed . md5_hex($password)), $type);
+               'open-ils.auth.authenticate.complete', 
+               {       username => $username, 
+                       password => md5_hex($seed . md5_hex($password)), 
+                       type => $type });
+
        err("No auth response returned on login") unless $response;
 
        oils_event_die($response);