mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 20:19:22 +03:00
Updates for #1572
This commit is contained in:
parent
b5dbd0cc7a
commit
4dc7ad02d5
4 changed files with 10 additions and 13 deletions
|
|
@ -53,8 +53,7 @@ class FetchController extends Controller {
|
|||
$this->config->setAppValue('snappymail', 'snappymail-autologin-with-email',
|
||||
isset($_POST['snappymail-autologin']) ? '2' === $_POST['snappymail-autologin'] : false);
|
||||
$this->config->setAppValue('snappymail', 'snappymail-no-embed', isset($_POST['snappymail-no-embed']));
|
||||
// DISABLED https://github.com/the-djmaze/snappymail/issues/1420#issuecomment-1933045917
|
||||
// $this->config->setAppValue('snappymail', 'snappymail-autologin-oidc', isset($_POST['snappymail-autologin-oidc']));
|
||||
$this->config->setAppValue('snappymail', 'snappymail-autologin-oidc', isset($_POST['snappymail-autologin-oidc']));
|
||||
} else {
|
||||
return new JSONResponse([
|
||||
'status' => 'error',
|
||||
|
|
|
|||
|
|
@ -22,9 +22,8 @@ class AdminSettings implements ISettings
|
|||
$keys = [
|
||||
'snappymail-autologin',
|
||||
'snappymail-autologin-with-email',
|
||||
'snappymail-no-embed'
|
||||
// DISABLED https://github.com/the-djmaze/snappymail/issues/1420#issuecomment-1933045917
|
||||
// 'snappymail-autologin-oidc'
|
||||
'snappymail-no-embed',
|
||||
'snappymail-autologin-oidc'
|
||||
];
|
||||
$parameters = [];
|
||||
foreach ($keys as $k) {
|
||||
|
|
|
|||
|
|
@ -38,15 +38,15 @@
|
|||
</div>
|
||||
</p>
|
||||
<br />
|
||||
<!-- DISABLED https://github.com/the-djmaze/snappymail/issues/1420#issuecomment-1933045917
|
||||
|
||||
<p>
|
||||
<input id="snappymail-autologin-oidc" name="snappymail-autologin-oidc" type="checkbox" class="checkbox" <php if ($_['snappymail-autologin-oidc']) echo 'checked="checked"'; ?>>
|
||||
<input id="snappymail-autologin-oidc" name="snappymail-autologin-oidc" type="checkbox" class="checkbox" <?php if ($_['snappymail-autologin-oidc']) echo 'checked="checked"'; ?>>
|
||||
<label for="snappymail-autologin-oidc">
|
||||
<php echo($l->t('Attempt to automatically login with OIDC when active')); ?>
|
||||
<?php echo($l->t('Attempt to automatically login with OIDC when active')); ?>
|
||||
</label>
|
||||
</p>
|
||||
<br />
|
||||
-->
|
||||
|
||||
<p>
|
||||
<input id="snappymail-no-embed" name="snappymail-no-embed" type="checkbox" class="checkbox" <?php if ($_['snappymail-no-embed']) echo 'checked="checked"'; ?>>
|
||||
<label for="snappymail-no-embed">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue