mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-22 23:51:13 -05:00
Fix Callout positioning and type
This commit is contained in:
@@ -271,26 +271,23 @@ export default function Auth() {
|
|||||||
|
|
||||||
<div className="space-y-2">
|
<div className="space-y-2">
|
||||||
<Label>Security Verification</Label>
|
<Label>Security Verification</Label>
|
||||||
<div className="border border-dashed border-muted-foreground/30 rounded-lg p-4">
|
<TurnstileCaptcha
|
||||||
<TurnstileCaptcha
|
key={signInCaptchaKey}
|
||||||
key={signInCaptchaKey}
|
onSuccess={(token) => {
|
||||||
onSuccess={(token) => {
|
console.log('Sign-in CAPTCHA success:', token);
|
||||||
console.log('Sign-in CAPTCHA success:', token);
|
setSignInCaptchaToken(token);
|
||||||
setSignInCaptchaToken(token);
|
}}
|
||||||
}}
|
onError={(error) => {
|
||||||
onError={(error) => {
|
console.log('Sign-in CAPTCHA error:', error);
|
||||||
console.log('Sign-in CAPTCHA error:', error);
|
setSignInCaptchaToken(null);
|
||||||
setSignInCaptchaToken(null);
|
}}
|
||||||
}}
|
onExpire={() => {
|
||||||
onExpire={() => {
|
console.log('Sign-in CAPTCHA expired');
|
||||||
console.log('Sign-in CAPTCHA expired');
|
setSignInCaptchaToken(null);
|
||||||
setSignInCaptchaToken(null);
|
}}
|
||||||
}}
|
siteKey={import.meta.env.VITE_TURNSTILE_SITE_KEY}
|
||||||
siteKey={import.meta.env.VITE_TURNSTILE_SITE_KEY}
|
theme="auto"
|
||||||
theme="auto"
|
/>
|
||||||
className="flex justify-center"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
|
|||||||
Reference in New Issue
Block a user