mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-06 21:35:55 +01:00
bug fix mail creation ref https://github.com/usmannasir/cyberpanel/issues/1059
This commit is contained in:
@@ -2382,7 +2382,10 @@ class WebsiteManager:
|
||||
|
||||
for web in websites:
|
||||
for child in web.childdomains_set.all():
|
||||
childDomains.append(child)
|
||||
if child.domain == f'mail.{web.domain}':
|
||||
pass
|
||||
else:
|
||||
childDomains.append(child)
|
||||
|
||||
pagination = self.getPagination(len(childDomains), recordsToShow)
|
||||
json_data = self.findChildsListJson(childDomains[finalPageNumber:endPageNumber])
|
||||
|
||||
Reference in New Issue
Block a user