fix(auth): show legal consent warning on password login (#7771)

This commit is contained in:
Seefs authored and GitHub committed 2026-10-12 18:25:54 +08:00
1 parent 2ed058795b
commit 2b85a8fc67
1 file changed
+1 -1
@@ -399,7 +399,7 @@ export function UserAuthForm({
<Button
type='submit'
className='mt-2 w-full justify-center gap-2'
disabled={isLoading || (requiresLegalConsent && !agreedToLegal)}
disabled={isLoading}
>
{isLoading ? <Loader2 className='animate-spin' /> : <LogIn />}
{t('Sign in')}