mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-18 05:51:26 +02:00
@@ -264,7 +264,7 @@ class AccountFormMail(forms.Form, DynamicForm):
|
||||
continue
|
||||
if value == "":
|
||||
continue
|
||||
aliases.append(value)
|
||||
aliases.append(value.lower())
|
||||
|
||||
for alias in self.mb.alias_set.all():
|
||||
if not alias.full_address in aliases:
|
||||
|
||||
@@ -74,7 +74,7 @@ class AliasForm(forms.ModelForm, DynamicForm):
|
||||
raise forms.ValidationError(
|
||||
_("You don't have access to this domain")
|
||||
)
|
||||
return self.cleaned_data["email"]
|
||||
return self.cleaned_data["email"].lower()
|
||||
|
||||
def set_recipients(self):
|
||||
"""Recipients dispatching
|
||||
|
||||
Reference in New Issue
Block a user