feat: migrate auth and state flows to better-auth and convex
This commit is contained in:
@@ -120,7 +120,7 @@ function renderLoginPage({ returnTo = "/app", error = null }) {
|
||||
<section class="card bg-slate-900/80 border border-slate-700 shadow-xl">
|
||||
<div class="card-body">
|
||||
<h1 class="text-2xl font-bold">Sign in</h1>
|
||||
<p class="text-sm text-slate-300">MVP login. Enter a username to create a local session cookie.</p>
|
||||
<p class="text-sm text-slate-300">Dev sign-in powered by Better Auth. Enter a username to create a session.</p>
|
||||
${errorBlock}
|
||||
<form method="POST" action="/auth/dev-login" class="space-y-3">
|
||||
<input type="hidden" name="returnTo" value="${escapeHtml(returnTo)}" />
|
||||
|
||||
Reference in New Issue
Block a user