From 41309721bdbac8bf408a761816aab50146ecb6f0 Mon Sep 17 00:00:00 2001 From: Rebecca Law Date: Mon, 26 Feb 2018 22:18:46 +0000 Subject: [PATCH] - Remove organisation setter for the user model. - Revert the change to the log level for admin. --- app/config.py | 2 +- app/notify_client/models.py | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/app/config.py b/app/config.py index c2b0185ea..fdb87bad0 100644 --- a/app/config.py +++ b/app/config.py @@ -48,7 +48,7 @@ class Config(object): HTTP_PROTOCOL = 'http' MAX_FAILED_LOGIN_COUNT = 10 NOTIFY_APP_NAME = 'admin' - NOTIFY_LOG_LEVEL = 'ERROR' + NOTIFY_LOG_LEVEL = 'DEBUG' PERMANENT_SESSION_LIFETIME = 20 * 60 * 60 # 20 hours SEND_FILE_MAX_AGE_DEFAULT = 365 * 24 * 60 * 60 # 1 year SESSION_COOKIE_HTTPONLY = True diff --git a/app/notify_client/models.py b/app/notify_client/models.py index 4cc23f04b..69e484d4d 100644 --- a/app/notify_client/models.py +++ b/app/notify_client/models.py @@ -170,10 +170,6 @@ class User(UserMixin): def organisations(self): return self._organisations - @organisations.setter - def organisations(self, organisations): - self._organisations = organisations - class InvitedUser(object):