We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2534286 commit 8dd5753Copy full SHA for 8dd5753
src/JSONDB/Configuration.php
@@ -54,7 +54,7 @@ class Configuration
54
*/
55
public function addUser($server, $username, $password)
56
{
57
- $this->_writeConfig('users', array_merge($this->getConfig('users'), array($server => array('username' => sha1(md5($username)), 'password' => sha1(md5($password))))));
+ $this->_writeConfig('users', array_merge($this->getConfig('users'), array($server => array('username' => Util::crypt($username), 'password' => Util::crypt($password)))));
58
}
59
60
/**
0 commit comments