Skip to content

Commit

Permalink
Added initial network add when OAE login is processed. Logging on to …
Browse files Browse the repository at this point in the history
…a new install of OAE without logging on to OAC did not generate the initial blessed subnet list.
  • Loading branch information
mark-unwin committed May 16, 2016
1 parent 9f2306a commit 40504bd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions code_igniter/application/controllers/login.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'];
Expand Down

0 comments on commit 40504bd

Please sign in to comment.