heh, EG auth backend must support usernames other than 'admin'
authorgfawcett <gfawcett@6d9bc8c9-1ec2-4278-b937-99fde70a366f>
Sun, 1 Mar 2009 19:21:43 +0000 (19:21 +0000)
committergfawcett <gfawcett@6d9bc8c9-1ec2-4278-b937-99fde70a366f>
Sun, 1 Mar 2009 19:21:43 +0000 (19:21 +0000)
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@130 6d9bc8c9-1ec2-4278-b937-99fde70a366f

conifer/custom/auth_evergreen_support.py

index da2819c..7915dde 100644 (file)
@@ -46,7 +46,7 @@ class EvergreenAuthServer(object):
         prx = self.proxy('open-ils.auth')
         seed = prx('open-ils.auth.authenticate.init', username)
         resp = prx('open-ils.auth.authenticate.complete',
-                   dict(username='admin',
+                   dict(username=username,
                         password=_hsh(seed + _hsh(password)), 
                         type='reserves'))
         try: