mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-10-28 16:46:57 +08:00
fix(auth): show legal consent warning on password login (#7771)
This commit is contained in:
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')}
|
||||
|
||||
Reference in new issue
Block a user