Add a warning about admin approval breaking login flows

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2020-07-21 21:16:18 +02:00
parent 6f6057d0a9
commit 5f9ca2a8aa
No known key found for this signature in database
GPG Key ID: 7076EA9751AACDDA
1 changed files with 6 additions and 2 deletions

View File

@ -26,9 +26,13 @@ foreach ($_['groups'] as $group) {
</p>
<div style="margin-top: 10px;">
<input type="checkbox" id="admin_approval_required" class="checkbox" name="admin_approval_required" <?php if ($_['approval_required'] === "yes") {
<p>
<input type="checkbox" id="admin_approval_required" class="checkbox" name="admin_approval_required" <?php if ($_['approval_required'] === "yes") {
echo " checked";
} ?>>
<label for="admin_approval_required"><?php p($l->t('Require admin approval?')); ?></label>
<label for="admin_approval_required"><?php p($l->t('Require admin approval?')); ?></label>
</p>
<em><?php p($l->t('Enabling "admin approval" will prevent registrations from mobile and desktop clients to complete as the credentials can not be verified by the client until the user was enabled.'));?></em>
</div>
</form>