You've already forked Mailu
mirror of
https://github.com/Mailu/Mailu.git
synced 2025-08-10 22:31:47 +02:00
Update user_external example for nextcloud
This commit is contained in:
committed by
GitHub
parent
8ffe947f39
commit
b2b19d8810
21
docs/faq.rst
21
docs/faq.rst
@@ -257,12 +257,31 @@ First of all you have to install dependencies required to authenticate users via
|
||||
|
||||
Next, you have to enable External user support from Nextcloud Apps interface
|
||||
|
||||
In the end you need to configure additional user backends in Nextcloud’s configuration config/config.php using the following syntax:
|
||||
In the end you need to configure additional user backends in Nextcloud’s configuration config/config.php using the following syntax if you use at least Nextcloud 15.
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
<?php
|
||||
|
||||
/** Use this for Nextcloud 15 and newer **/
|
||||
'user_backends' => array(
|
||||
array(
|
||||
'class' => 'OC_User_IMAP',
|
||||
'arguments' => array(
|
||||
'127.0.0.1', 993, 'ssl', 'example.com'
|
||||
),
|
||||
),
|
||||
),
|
||||
|
||||
|
||||
For Nextcloud 14 and below use the following syntax:
|
||||
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
<?php
|
||||
|
||||
/** Use this for Nextcloud 14 and older **/
|
||||
'user_backends' => array(
|
||||
array(
|
||||
'class' => 'OC_User_IMAP',
|
||||
|
Reference in New Issue
Block a user