Add warning for plaintext passwords, set default password mode to secure

Signed-off-by: Sebastian Sterk <sebastian@wiuwiu.de>
This commit is contained in:
Sebastian Sterk
2019-08-01 12:53:46 +02:00
parent 66747dbaa9
commit 5dc9b1db12
2 changed files with 5 additions and 2 deletions

View File

@@ -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;