modernizing the dependencies
This commit is contained in:
1 parent
a1c6b656d7
commit
2bd853e9b5
12 files changed
+33
-36
No files matched your search
@@ -85,9 +85,9 @@ class AliasCreate(
|
||||
for key in ("email", "domain", "enabled", "note"):
|
||||
if hasattr(self, key):
|
||||
context[key] = getattr(self, key)
|
||||
context[
|
||||
"can_use_different_alias_domain"
|
||||
] = self.user.can_use_different_alias_domain
|
||||
context["can_use_different_alias_domain"] = (
|
||||
self.user.can_use_different_alias_domain
|
||||
)
|
||||
if self.user.can_use_different_alias_domain:
|
||||
context["domains"] = get_domains()
|
||||
else:
|
||||
|
||||
Reference in new issue
Block a user