diff --git a/src/components/settings/Settings.svelte b/src/components/settings/Settings.svelte
index e570390a..8d62ce82 100644
--- a/src/components/settings/Settings.svelte
+++ b/src/components/settings/Settings.svelte
@@ -4,6 +4,7 @@
import { MeService } from "@odit/lfk-client-js";
import Toastify from "toastify-js";
import ConfirmProfileDeletion from "./ConfirmProfileDeletion.svelte";
+ import PasswordStrength from "../auth/PasswordStrength.svelte";
$: data_loaded = false;
$: delete_triggered = false;
$: original_data = {};
@@ -45,7 +46,7 @@
function changePassword() {
if (data_loaded === true && update_password_enabled) {
Toastify({
- text: $_('changing-your-password'),
+ text: $_("changing-your-password"),
duration: 2500,
}).showToast();
let postdata = Object.assign({}, original_data);
@@ -56,7 +57,7 @@
password_change = "";
postdata = {};
Toastify({
- text: $_('password-changed'),
+ text: $_("password-changed"),
duration: 2500,
backgroundColor: "linear-gradient(to right, #00b09b, #96c93d)",
}).showToast();
@@ -242,10 +243,7 @@
class="border-gray-300 placeholder-gray-500 appearance-none rounded-md relative block w-full px-3 py-2 border focus:outline-none focus:shadow-outline-blue focus:border-blue-300 focus:z-10 sm:text-sm"
placeholder={$_('password')} />
- {#if password_change != password_confirm && password_change.length > 0}
- {$_('passwords-dont-match')}
- {/if}
+