From 40504bdc9f1c951f885a70886349b6b58ccc574a Mon Sep 17 00:00:00 2001 From: Mark Unwin Date: Mon, 16 May 2016 11:37:26 +1000 Subject: [PATCH] Added initial network add when OAE login is processed. Logging on to a new install of OAE without logging on to OAC did not generate the initial blessed subnet list. --- code_igniter/application/controllers/login.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code_igniter/application/controllers/login.php b/code_igniter/application/controllers/login.php index 654dc5ad4..ce5926dac 100644 --- a/code_igniter/application/controllers/login.php +++ b/code_igniter/application/controllers/login.php @@ -335,6 +335,10 @@ public function login_auth() $this->load->model('m_oa_config'); $this->m_oa_config->load_config(); + foreach ($this->m_oa_config->get_server_subnets() as $subnet) { + $this->m_oa_config->update_blessed($subnet, 0); + } + if (isset($_POST['username']) and isset($_POST['password']) and $_POST['username'] != '' and $_POST['password'] != '') { $username = $_POST['username']; $password = $_POST['password'];