chore: bump version to 2.21.6 in package.json and enhance captcha integration across auth components (#418)

- Updated application version from 2.21.4 to 2.21.6 in package.json.
- Added "verifyingCaptcha" message to auth.json for improved user feedback during captcha verification.
- Enhanced captcha handling in various authentication components, including MagicLinkAuthContainer, PasswordResetRequestContainer, and SignUpContainer, to reflect loading states and improve user experience.
This commit is contained in:
Giancarlo Buomprisco
2025-12-02 21:40:56 +08:00
committed by GitHub
parent a78da16790
commit f6c635aac3
10 changed files with 74 additions and 24 deletions

View File

@@ -24,6 +24,7 @@ export function PasswordSignInContainer({
const { recordAuthMethod } = useLastAuthMethod();
const isLoading = signInMutation.isPending;
const isRedirecting = signInMutation.isSuccess;
const captchaLoading = !captcha.isReady;
const onSubmit = useCallback(
async (credentials: z.infer<typeof PasswordSignInSchema>) => {
@@ -59,6 +60,7 @@ export function PasswordSignInContainer({
onSubmit={onSubmit}
loading={isLoading}
redirecting={isRedirecting}
captchaLoading={captchaLoading}
/>
{captcha.field}