mirror of
https://github.com/simple-login/app.git
synced 2024-11-16 00:48:32 +01:00
feat: disable whitelist events (#2230)
This commit is contained in:
parent
df4c52815b
commit
4762dffd96
1 changed files with 0 additions and 4 deletions
|
@ -64,10 +64,6 @@ class EventDispatcher:
|
||||||
)
|
)
|
||||||
return
|
return
|
||||||
|
|
||||||
if config.EVENT_WEBHOOK_ENABLED_USER_IDS is not None:
|
|
||||||
if user.id not in config.EVENT_WEBHOOK_ENABLED_USER_IDS:
|
|
||||||
return
|
|
||||||
|
|
||||||
partner_user = EventDispatcher.__partner_user(user.id)
|
partner_user = EventDispatcher.__partner_user(user.id)
|
||||||
if not partner_user:
|
if not partner_user:
|
||||||
LOG.i(f"Not sending events because there's no partner user for user {user}")
|
LOG.i(f"Not sending events because there's no partner user for user {user}")
|
||||||
|
|
Loading…
Reference in a new issue