From 012e4fea839c48e95dc8a174c256494f9b596537 Mon Sep 17 00:00:00 2001 From: Yasin Rahman Date: Mon, 2 Mar 2015 14:59:39 +0100 Subject: [PATCH] FIX: iotlab url+ authorization is coming from myslice.ini --- portal/actions.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/portal/actions.py b/portal/actions.py index fa3ed105..16fc3cf8 100644 --- a/portal/actions.py +++ b/portal/actions.py @@ -1061,9 +1061,9 @@ def iotlab_create_user (wsgi_request, request, namespace = None, as_admin=False) import time from requests.auth import HTTPBasicAuth - URL_REST = ConfigEngine.default_iotlab_url - LOGIN_ADMIN = ConfigEngine.default_iotlab_admin_user - PASSWORD_ADMIN = ConfigEngine.default_iotlab_admin_password + URL_REST = ConfigEngine.iotlab_url + LOGIN_ADMIN = ConfigEngine.iotlab_admin_user + PASSWORD_ADMIN = ConfigEngine.iotlab_admin_password auth = HTTPBasicAuth(LOGIN_ADMIN,PASSWORD_ADMIN) headers = {'content-type': 'application/json'} -- 2.43.0