📖 DOC: additional boolean parameters for optional striping of domain and domain based group creation

Signed-off-by: Jonas Sulzer <jonas@violoncello.ch>
Signed-off-by: none <vlad@teksperts.nyc>
This commit is contained in:
Jonas Sulzer
2019-05-23 00:13:34 +02:00
committed by none
parent 47ee3d61f4
commit f99c4daa71

View File

@@ -68,7 +68,7 @@ Add the following to your `config.php`:
array(
'class' => 'OC_User_IMAP',
'arguments' => array(
'127.0.0.1', 993, 'ssl', 'example.com'
'127.0.0.1', 993, 'ssl', 'example.com', true, false
),
),
),
@@ -79,9 +79,12 @@ you want to restrict the domain (4th parameter), you need to also specify
the port (2nd parameter) and sslmode (3rd parameter; set to `null` for
insecure connection).
If a domain name (e.g. example.com) is specified, then this makes sure that
only users from this domain will be allowed to login. After successfull
login the domain part will be striped and the rest used as username in
Nextcloud. e.g. 'username@example.com' will be 'username' in Nextcloud.
only users from this domain will be allowed to login. If the fifth parameter
is set to true, after successfull login the domain part will be striped and
the rest used as username in Nextcloud. e.g. 'username@example.com' will be
'username' in Nextcloud. The sixth parameter toggles whether on creation of
the user, it is added to a group corresponding to the name of the domain part
of the address.