Skip to content

Commit

Permalink
Add the smtp password back to admin ui
Browse files Browse the repository at this point in the history
  • Loading branch information
Fajfa committed Apr 15, 2024
1 parent eb7c39f commit 96a7fd6
Showing 1 changed file with 45 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
<b-form-group
:label="$t('host.label')"
:description="$t('host.description')"
label-class="text-primary"
>
<b-input-group>
<b-input
Expand Down Expand Up @@ -49,14 +50,17 @@
</b-input-group>
</b-form-group>
</b-col>
</b-row>

<b-row>
<b-col
cols="12"
lg="6"
>
<b-form-group
:label="$t('user.label')"
:description="$t('user.description')"
label-class="text-primary"
>
<b-input
v-model="server.user"
Expand All @@ -66,45 +70,52 @@
/>
</b-form-group>
</b-col>
</b-row>

<b-row>
<b-col
cols="12"
lg="6"
>
<b-form-group
:label="$t('from.label')"
:description="$t('from.description')"
:label="$t('password.label')"
:description="$t('password.description')"
label-class="text-primary"
>
<b-input
v-model="server.from"
data-test-id="input-sender-address"
type="email"
v-model="server.pass"
data-test-id="input-password"
type="password"
:disabled="disabled"
autocomplete="off"
/>
</b-form-group>
</b-col>
</b-row>

<hr>

<b-row>
<b-col
cols="12"
lg="6"
>
<b-form-group
:description="$t('tlsInsecure.description')"
:label="$t('from.label')"
:description="$t('from.description')"
label-class="text-primary"
>
<b-form-checkbox
v-model="server.tlsInsecure"
data-test-id="checkbox-allow-invalid-certificates"
<b-input
v-model="server.from"
data-test-id="input-sender-address"
type="email"
:disabled="disabled"
>
{{ $t('tlsInsecure.label') }}
</b-form-checkbox>
autocomplete="off"
/>
</b-form-group>
</b-col>
</b-row>

<hr>

<b-row>
<b-col
cols="12"
Expand All @@ -113,6 +124,7 @@
<b-form-group
:label="$t('tlsServerName.label')"
:description="$t('tlsServerName.description')"
label-class="text-primary"
>
<b-input
v-model="server.tlsServerName"
Expand All @@ -121,6 +133,25 @@
/>
</b-form-group>
</b-col>

<b-col
cols="12"
lg="6"
>
<b-form-group
:description="$t('tlsInsecure.description')"
class="mt-lg-3"
>
<b-form-checkbox
v-model="server.tlsInsecure"
data-test-id="checkbox-allow-invalid-certificates"
:disabled="disabled"
class="mt-lg-4 mb-2"
>
{{ $t('tlsInsecure.label') }}
</b-form-checkbox>
</b-form-group>
</b-col>
</b-row>
</b-form>

Expand Down

0 comments on commit 96a7fd6

Please sign in to comment.