Implemented password strength test feature/106-password_strength #115

Merged
niggl merged 14 commits from feature/106-password_strength into dev 2021-03-26 19:03:05 +00:00
Showing only changes of commit 962dd0c1bb - Show all commits

View File

@ -1,6 +1,9 @@
<script> <script>
import { getLocaleFromNavigator, _ } from "svelte-i18n"; import { getLocaleFromNavigator, _ } from "svelte-i18n";
import { passwordStrength } from "check-password-strength"; import { passwordStrength } from "check-password-strength";
export let password_change;
export let password_confirm;
$: strength = passwordStrength(password_change); $: strength = passwordStrength(password_change);
$: passwords_match = $: passwords_match =
!password_confirm || password_confirm === password_change; !password_confirm || password_confirm === password_change;