mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-14 02:48:45 -04:00
- Remove organisation setter for the user model.
- Revert the change to the log level for admin.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user