Enabled invite E-Mail by default

This commit is contained in:
JoSo 2026-04-15 15:04:25 +02:00 committed by GitHub
parent 4a73e94618
commit e7900b98f5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -121,7 +121,7 @@ class UserManagementEventHooks:
)
use_enterprise_email_hooks = False
if use_enterprise_email_hooks and (data.send_invite_email is True):
if use_enterprise_email_hooks and (data.send_invite_email is not False):
initialized_email_loggers = litellm.logging_callback_manager.get_custom_loggers_for_type(
callback_type=BaseEmailLogger # type: ignore
)