fix: review

This commit is contained in:
Arman
2024-09-27 11:03:52 +02:00
parent 810c280ff9
commit 01417f2f4b
2 changed files with 2 additions and 2 deletions
@@ -10,7 +10,7 @@
import { project } from '../../store';
let passwordHistory = $project?.authPasswordHistory < 1 ? 5 : $project?.authPasswordHistory;
let passwordHistoryEnabled = ($project?.authPasswordHistory ?? 0) != 0;
let passwordHistoryEnabled = ($project?.authPasswordHistory ?? 0) !== 0;
let initialPasswordHistoryEnabled = passwordHistoryEnabled;
async function updatePasswordHistoryLimit() {
@@ -103,7 +103,7 @@
</div>
</div>
{#if !data.project?.smtpEnabled}
{#if !data.project.smtpEnabled}
<div class="u-margin-block-start-24">
<Alert
isStandalone