Skip to content
Snippets Groups Projects
Commit 86565fe7 authored by Demian Katz's avatar Demian Katz
Browse files

Avoid potentially inappropriate direct data access.

parent 22013f14
Branches
Tags
No related merge requests found
......@@ -81,8 +81,9 @@ class Database extends AbstractBase
*/
protected function passwordHashingEnabled()
{
return isset($this->config->Authentication->hash_passwords)
? $this->config->Authentication->hash_passwords : false;
$config = $this->getConfig();
return isset($config->Authentication->hash_passwords)
? $config->Authentication->hash_passwords : false;
}
/**
......
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