File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 5959 app_auth_key = app .config ['ONESIGNAL_CSH_APP_AUTH_KEY' ],
6060 app_id = app .config ['ONESIGNAL_CSH_APP_ID' ]
6161 )
62+ app .logger .info ('CSH Onesignal configured and notifications enabled' )
6263
6364intro_onesignal_client = None
6465if app .config ['ONESIGNAL_USER_AUTH_KEY' ] and \
6970 app_auth_key = app .config ['ONESIGNAL_INTRO_APP_AUTH_KEY' ],
7071 app_id = app .config ['ONESIGNAL_INTRO_APP_ID' ]
7172 )
73+ app .logger .info ('Intro Onesignal configured and notifications enabled' )
7274
7375# OIDC Auth
7476auth = OIDCAuthentication ({'app' : APP_CONFIG }, app )
77+ app .logger .info ('OIDCAuth configured' )
7578
7679# Sentry
7780sentry_sdk .init (
7881 dsn = app .config ['SENTRY_DSN' ],
7982 integrations = [FlaskIntegration (), SqlalchemyIntegration ()]
8083)
8184
82- app .logger .info ('OIDCAuth and LDAP configured' )
8385
8486# pylint: disable=wrong-import-position
8587from .ldap import ldap
Original file line number Diff line number Diff line change @@ -39,6 +39,10 @@ class LDAPWrapper:
3939 def __init__ (self , cshldap = None , mock_members = None ):
4040 self .ldap = cshldap
4141 self .mock_members = mock_members
42+ if self .ldap :
43+ app .logger .info ('LDAP configured with CSH LDAP' )
44+ else :
45+ app .logger .info ('LDAP configured with local mock' )
4246
4347
4448 def _get_group_members (self , group ):
You can’t perform that action at this time.
0 commit comments