Skip to content
Snippets Groups Projects
Commit e0c157ed authored by Andrew Rudenets's avatar Andrew Rudenets
Browse files

fix 2

parent 1971c273
No related merge requests found
......@@ -8,7 +8,7 @@ class Controller_Handler_Settings extends Controller {
parent::before();
$this->model = new Model_Account;
$this->post = Validation::factory(Arr::map('trim', $_POST));
if(!$this->request->is_ajax() || Auth::isLoggedIn())
if(!$this->request->is_ajax() || !Auth::isLoggedIn())
throw HTTP_Exception::factory (403, 'no access');
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment