mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-06 00:48:46 -04:00
Add user via api
Leave original user object in for this slice. Remove on next
This commit is contained in:
committed by
Rebecca Law
parent
762ab8e394
commit
c86b53f7f1
@@ -22,7 +22,7 @@ class Config(object):
|
||||
SESSION_COOKIE_HTTPONLY = True
|
||||
SESSION_COOKIE_SECURE = True
|
||||
|
||||
NOTIFY_API_URL = os.getenv('NOTIFY_API_URL', "http://localhost:6001")
|
||||
NOTIFY_API_URL = os.getenv('NOTIFY_API_URL')
|
||||
NOTIFY_API_SECRET = os.getenv('NOTIFY_API_SECRET', "dev-secret")
|
||||
NOTIFY_API_CLIENT = os.getenv('NOTIFY_API_CLIENT', "admin")
|
||||
|
||||
@@ -41,12 +41,12 @@ class Config(object):
|
||||
|
||||
class Development(Config):
|
||||
DEBUG = True
|
||||
NOTIFY_API_URL = 'http://localhost:6011'
|
||||
ADMIN_CLIENT_USER_NAME = 'dev-notify-admin'
|
||||
ADMIN_CLIENT_SECRET = 'dev-notify-secret-key'
|
||||
|
||||
|
||||
class Test(Config):
|
||||
DEBUG = True
|
||||
class Test(Development):
|
||||
SQLALCHEMY_DATABASE_URI = 'postgresql://localhost/test_notifications_admin'
|
||||
WTF_CSRF_ENABLED = False
|
||||
|
||||
|
||||
Reference in New Issue
Block a user