fix: set password manually input not shown

This commit is contained in:
Elias Schneider
2023-03-12 19:28:50 +01:00
parent cb1a0d4090
commit 8ff417a013

View File

@@ -79,13 +79,12 @@ const Body = ({
})}
/>
)}
{form.values.setPasswordManually ||
(!smtpEnabled && (
{(form.values.setPasswordManually || !smtpEnabled) && (
<PasswordInput
label="Password"
{...form.getInputProps("password")}
/>
))}
)}
<Switch
styles={{
body: {