mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-07-25 09:04:32 +00:00
[Imapsync] Remove oauth source hint
This commit is contained in:
@@ -611,7 +611,6 @@ $(document).ready(function() {
|
||||
var isAuthCode = isOauth && ($opt.data('oauth-flow') === 'authorization_code');
|
||||
$form.find('.password1-row').toggle(!isOauth);
|
||||
$form.find('input[name="password1"]').prop('required', !isOauth);
|
||||
$form.find('.oauth-source-hint').toggle(isOauth);
|
||||
$form.find('.imapsync-oauth-connect-row').toggle(isAuthCode);
|
||||
$form.find('.imapsync-user1-row').toggle(!isAuthCode);
|
||||
$form.find('input[name="user1"]').prop('required', !isAuthCode);
|
||||
|
||||
@@ -1252,7 +1252,6 @@
|
||||
"source_token_error": "Letzter Refresh-Fehler",
|
||||
"source_refresh_now": "Token jetzt erneuern",
|
||||
"source_secret_unchanged_hint": "Leer lassen, um das gespeicherte Secret beizubehalten.",
|
||||
"oauth_source_hint": "Authentifizierung über OAuth2 — kein Passwort erforderlich.",
|
||||
"source_oauth_flow": "OAuth2-Flow",
|
||||
"source_oauth_flow_app": "App (Client Credentials)",
|
||||
"source_oauth_flow_user": "Benutzer-Login (Authorization Code)",
|
||||
|
||||
@@ -1259,7 +1259,6 @@
|
||||
"source_token_error": "Last refresh error",
|
||||
"source_refresh_now": "Refresh token now",
|
||||
"source_secret_unchanged_hint": "Leave blank to keep the stored secret unchanged.",
|
||||
"oauth_source_hint": "Authentication via OAuth2 — no password required.",
|
||||
"source_oauth_flow": "OAuth2 flow",
|
||||
"source_oauth_flow_app": "App (client credentials)",
|
||||
"source_oauth_flow_user": "User login (authorization code)",
|
||||
|
||||
@@ -21,7 +21,6 @@
|
||||
data-current-source-auth-type="{{ result.source_auth_type }}" required>
|
||||
<option value="{{ result.source_id }}" data-auth-type="{{ result.source_auth_type }}" data-oauth-flow="{{ result.source_oauth_flow }}" selected>{{ result.source_name }} ({{ result.source_host }}:{{ result.source_port }} / {{ result.source_auth_type }})</option>
|
||||
</select>
|
||||
<small class="text-muted oauth-source-hint" style="display:{% if result.source_auth_type == 'XOAUTH2' %}block{% else %}none{% endif %};">{{ lang.syncjobs.oauth_source_hint }}</small>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row mb-2 imapsync-user1-row" style="display:{% if result.source_oauth_flow == 'authorization_code' %}none{% else %}flex{% endif %};">
|
||||
|
||||
@@ -959,7 +959,6 @@
|
||||
<select class="imapsync-source-select" data-live-search="true" name="source_id" title="{{ lang.syncjobs.source_select }}" required>
|
||||
{# options are loaded via the API on modal open (populateImapsyncSourceSelects) #}
|
||||
</select>
|
||||
<small class="text-muted oauth-source-hint" style="display:none;">{{ lang.syncjobs.oauth_source_hint }}</small>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row mb-2 imapsync-user1-row">
|
||||
|
||||
@@ -43,7 +43,6 @@
|
||||
<select class="imapsync-source-select" data-live-search="true" name="source_id" title="{{ lang.syncjobs.source_select }}" required>
|
||||
{# options are loaded via the API on modal open (populateImapsyncSourceSelects) #}
|
||||
</select>
|
||||
<small class="text-muted oauth-source-hint" style="display:none;">{{ lang.syncjobs.oauth_source_hint }}</small>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row mb-2 imapsync-user1-row">
|
||||
|
||||
Reference in New Issue
Block a user