From: gfawcett Date: Sun, 1 Mar 2009 19:21:43 +0000 (+0000) Subject: heh, EG auth backend must support usernames other than 'admin' X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=ad06911d2548e2faee1bc36759af394b3830decb;p=Syrup.git heh, EG auth backend must support usernames other than 'admin' git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@130 6d9bc8c9-1ec2-4278-b937-99fde70a366f --- diff --git a/conifer/custom/auth_evergreen_support.py b/conifer/custom/auth_evergreen_support.py index da2819c..7915dde 100644 --- a/conifer/custom/auth_evergreen_support.py +++ b/conifer/custom/auth_evergreen_support.py @@ -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: