Skip to content

Commit

Permalink
Remove password-strength-meter from login page
Browse files Browse the repository at this point in the history
  • Loading branch information
myieye committed Apr 15, 2024
1 parent bc21834 commit 14a7952
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions frontend/src/routes/(unauthenticated)/login/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,10 @@
import { AUTHENTICATED_ROOT } from '../..';
import SigninWithGoogleButton from '$lib/components/SigninWithGoogleButton.svelte';
import DevContent from '$lib/layout/DevContent.svelte';
import PasswordStrengthMeter from '$lib/components/PasswordStrengthMeter.svelte';
const formSchema = z.object({
email: z.string().min(1, $t('login.missing_user_info')),
password: z.string().min(1, $t('login.password_missing')),
_score: z.number(), // Not currently used by API, but PasswordStrengthMeter wants something to bind to
});
let { form, errors, message, enhance, submitting } = lexSuperForm(
formSchema,
Expand Down Expand Up @@ -78,8 +76,6 @@
autocomplete="current-password"
/>

<PasswordStrengthMeter bind:score={$form._score} password={$form.password} />

<div class="markdown-wrapper">
<FormError error={$message} markdown />
</div>
Expand Down

0 comments on commit 14a7952

Please sign in to comment.