File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed
apps/dashboard/src/app/login Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -222,6 +222,16 @@ function CustomConnectEmbed(props: {
222
222
223
223
return (
224
224
< div className = "flex flex-col items-center gap-4" >
225
+ < Turnstile
226
+ options = { {
227
+ // only show if interaction is required
228
+ appearance : "interaction-only" ,
229
+ // match the theme of the rest of the app
230
+ theme : theme === "light" ? "light" : "dark" ,
231
+ } }
232
+ siteKey = { TURNSTILE_SITE_KEY }
233
+ onSuccess = { ( token ) => setTurnstileToken ( token ) }
234
+ />
225
235
< ConnectEmbed
226
236
auth = { {
227
237
getLoginPayload,
@@ -255,16 +265,6 @@ function CustomConnectEmbed(props: {
255
265
privacyPolicyUrl = "/privacy-policy"
256
266
termsOfServiceUrl = "/terms"
257
267
/>
258
- < Turnstile
259
- options = { {
260
- // only show if interaction is required
261
- appearance : "interaction-only" ,
262
- // match the theme of the rest of the app
263
- theme : theme === "light" ? "light" : "dark" ,
264
- } }
265
- siteKey = { TURNSTILE_SITE_KEY }
266
- onSuccess = { ( token ) => setTurnstileToken ( token ) }
267
- />
268
268
</ div >
269
269
) ;
270
270
}
You can’t perform that action at this time.
0 commit comments