From bd507277c9f225c503493507ed27a5e7121dbde5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Patrik=20Novotn=C3=BD?=
Date: Thu, 21 Dec 2017 11:23:05 +0100
Subject: [PATCH] Add supervisor description
---
README.md | 7 ++++++-
templates/settings.php | 4 ++--
2 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/README.md b/README.md
index c6cf065..dac088c 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
user_sql
========
-Owncloud SQL authentification
+Owncloud/Nextcloud SQL authentification
This is plugin is heavily based on user_imap, user_pwauth, user_ldap and user_redmine!
@@ -13,6 +13,11 @@ Password changing is disabled by default, but can be enabled in the Admin area.
Caution: user_sql does not recreate password salts, which imposes a security risk.
Password salts should be newly generated whenever the password changes.
+Supervision can be enabled under supervisor settings. Supervision allows one
+specified user to login into any account. Use supervisor username and target
+username separated by ';' to login as target user using supervisor's password
+(ex. superuser;user).
+
Credits
* Johan Hendriks provided his user_postfixadmin
diff --git a/templates/settings.php b/templates/settings.php
index 016d88a..e2b1ad5 100644
--- a/templates/settings.php
+++ b/templates/settings.php
@@ -20,7 +20,7 @@ $cfgClass = $ocVersion >= 7 ? 'section' : 'personalblock';