diff --git a/web/webViews/authenticate/login.py b/web/webViews/authenticate/login.py index 7d361bf..898a710 100755 --- a/web/webViews/authenticate/login.py +++ b/web/webViews/authenticate/login.py @@ -39,7 +39,7 @@ class loginView(normalView): @classmethod def get(self): if is_authenticated(): - #refreshInfo() + refreshInfo() return redirect(request.args.get('next',None) or '/dashboard/') if (env.getenv('EXTERNAL_LOGIN') == 'True'): url = external_generate.external_login_url diff --git a/web/webViews/dockletrequest.py b/web/webViews/dockletrequest.py index c6e1267..bb9e283 100644 --- a/web/webViews/dockletrequest.py +++ b/web/webViews/dockletrequest.py @@ -26,7 +26,8 @@ class dockletRequest(): @classmethod def unauthorizedpost(self, url = '/', data = None): data = dict(data) - logger.info("Docklet Unauthorized Request: data = %s, url = %s" % (data, url)) + data_log = {'user': data['user']} + logger.info("Docklet Unauthorized Request: data = %s, url = %s" % (data_log, url)) result = requests.post(endpoint + url, data = data).json() logger.info("Docklet Unauthorized Response: result = %s, url = %s"%(result, url)) return result