Add warning for plaintext passwords, set default password mode to secure
Signed-off-by: Sebastian Sterk <sebastian@wiuwiu.de>
This commit is contained in:
@@ -22,7 +22,7 @@ class OC_User_XMPP extends \OCA\user_external\Base {
|
||||
private $xmppDomain;
|
||||
private $passwordHashed;
|
||||
|
||||
public function __construct($host, $xmppDb, $xmppDbUser, $xmppDbPassword, $xmppDomain, $passwordHashed) {
|
||||
public function __construct($host, $xmppDb, $xmppDbUser, $xmppDbPassword, $xmppDomain, $passwordHashed = true) {
|
||||
parent::__construct($host);
|
||||
$this->host = $host;
|
||||
$this->xmppDb = $xmppDb;
|
||||
|
||||
Reference in New Issue
Block a user