Commit f6f4462f authored by Weblate's avatar Weblate

Merge remote-tracking branch 'origin/master'

parents 44e7060b 373788b3
...@@ -1028,7 +1028,7 @@ def create_profile_callback(sender, instance, created=False, **kwargs): ...@@ -1028,7 +1028,7 @@ def create_profile_callback(sender, instance, created=False, **kwargs):
''' '''
Automatically adds user to Users group. Automatically adds user to Users group.
''' '''
if created and instance.email: if created:
# Add user to automatic groups # Add user to automatic groups
for auto in AutoGroup.objects.all(): for auto in AutoGroup.objects.all():
if re.match(auto.match, instance.email): if re.match(auto.match, instance.email):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment