- Remove organisation setter for the user model.

- Revert the change to the log level for admin.
This commit is contained in:
Rebecca Law
2018-02-26 22:18:46 +00:00
parent 298eb77b54
commit 41309721bd
2 changed files with 1 additions and 5 deletions

View File

@@ -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

View File

@@ -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):