From cbae4b93b0d2792a375cdc9da0c99b1d299459a3 Mon Sep 17 00:00:00 2001
From: Michael Fürmann <michael@spicyweb.de>
Date: Thu, 19 Feb 2015 15:07:56 -0500
Subject: [PATCH] Removed public registration from domain form, can't be supported atm.

---
 interface/web/mail/xmpp_domain_edit.php |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/interface/web/mail/xmpp_domain_edit.php b/interface/web/mail/xmpp_domain_edit.php
index ce90735..ff1f8b8 100644
--- a/interface/web/mail/xmpp_domain_edit.php
+++ b/interface/web/mail/xmpp_domain_edit.php
@@ -295,6 +295,9 @@
             }
         }
 
+        // Reset public registration to 'n', is not yet supported
+        $this->dataRecord["public_registration"] = 'n';
+
 		parent::onSubmit();
 	}
 

--
Gitblit v1.9.1