Browse Source

Fix auth issue if Private XML storage is not enabled

pull/938/head
Timothée Jaussoin 5 years ago
parent
commit
8530ed8b0e
  1. 3
      app/widgets/Login/Login.php
  2. 5
      lib/moxl/src/Moxl/Xec/Action/Storage/Get.php

3
app/widgets/Login/Login.php

@ -23,8 +23,7 @@ class Login extends Base
$this->registerEvent('session_start_handle', 'onStart');
$this->registerEvent('saslfailure', 'onSASLFailure');
$this->registerEvent('storage_get_handle', 'onConfig');
$this->registerEvent('storage_get_errorfeaturenotimplemented', 'onConfig');
$this->registerEvent('storage_get_errorserviceunavailable', 'onConfig');
$this->registerEvent('storage_get_error', 'onConfig');
$this->registerEvent('ssl_error', 'onFailAuth');
$this->registerEvent('dns_error', 'onDNSError');
$this->registerEvent('timeout_error', 'onTimeoutError');

5
lib/moxl/src/Moxl/Xec/Action/Storage/Get.php

@ -32,4 +32,9 @@ class Get extends Action
$this->deliver();
}
}
public function error($stanza, $parent = false)
{
$this->deliver();
}
}
Loading…
Cancel
Save