Merge branch 'master' of ssh://git.onelab.eu/git/myslice
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Mon, 10 Feb 2014 12:41:41 +0000 (13:41 +0100)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Mon, 10 Feb 2014 12:41:41 +0000 (13:41 +0100)
1  2 
manifold/manifoldproxy.py

@@@ -52,9 -52,10 +52,10 @@@ with the query passed using POST""
          # We allow some requests to use the ADMIN user account
          if (manifold_query.get_from() == 'local:user' and manifold_query.get_action() == 'create') \
                  or (manifold_query.get_from() == 'local:platform' and manifold_query.get_action() == 'get'):
 -            admin_user, admin_password = Config().manifold_admin_user_password()
 +            admin_user, admin_password = ConfigEngine().manifold_admin_user_password()
              manifold_api_session_auth = {'AuthMethod': 'password', 'Username': admin_user, 'AuthString': admin_password}
          else:
+             print request.session['manifold']
              manifold_api_session_auth = request.session['manifold']['auth']
  
          if debug_empty and manifold_query.action.lower()=='get':