Skip to content

Commit

Permalink
Fix cannot create users
Browse files Browse the repository at this point in the history
  • Loading branch information
dimasciput committed Aug 31, 2023
1 parent 6a97424 commit 21f59af
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bims/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import json

from django.http import HttpResponse
from django.conf import settings
from rangefilter.filter import DateRangeFilter
from preferences.admin import PreferencesAdmin
from preferences import preferences
Expand Down Expand Up @@ -865,7 +866,7 @@ def response_add(self, request, obj, post_url_continue=None):
'Kind regards,\nBIMS Team.'.format(
**data
),
obj.email,
settings.DEFAULT_FROM_EMAIL,
[obj.email],
fail_silently=False
)
Expand Down

0 comments on commit 21f59af

Please sign in to comment.