Files
WRNexusJS/examples/auth-showcase/app/pages/sign-in.wrn
T
2026-07-29 12:51:10 +05:30

19 lines
578 B
Plaintext

page SignInPage {
seo { title = "Sign in" }
view {
<main class="flex min-h-screen items-center justify-center bg-[var(--wire-color-bg)] p-4">
<SignIn action="/api/auth/login" returnTo="/account" showPasskey="false">
<Captcha
endpoint="/api/captcha/challenge"
verifyEndpoint="/api/captcha/verify"
type="not-robot"
action="auth-login"
required="true"
resetOnError="false"
requiredMessage="Complete the security check below before signing in."
/>
</SignIn>
</main>
}
}