diff --git a/application/controllers/auth.php b/application/controllers/auth.php index e8bd34a..fce9b7c 100644 --- a/application/controllers/auth.php +++ b/application/controllers/auth.php @@ -113,10 +113,9 @@ class Auth extends CI_Controller { if ($this->input->post('new_password') != '') { $username = $this->session->userdata('username'); $change = $this->access->changePassword($username, $this->input->post('old_password'), $this->input->post('new_password')); - - if ($change) { - $this->logout(); - } +// if ($change) { +// $this->logout(); +// } } // update users table diff --git a/application/views/auth/settings.php b/application/views/auth/settings.php index 4195485..dcfb390 100644 --- a/application/views/auth/settings.php +++ b/application/views/auth/settings.php @@ -6,8 +6,9 @@

@@ -15,6 +16,7 @@
+
+ +

- +