summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorPeter Stone <thepeterstone@gmail.com>2026-02-05 15:35:01 -1000
committerPeter Stone <thepeterstone@gmail.com>2026-02-05 15:35:01 -1000
commit0a1001eb0bd2d1f7c0624ae1ef8ae7ccdb3447d4 (patch)
treecaf04d4f505bb12751579e2f0f1730ead7a9e2e2 /test
parent1eab4d59454fa5999675d51b99e77ac6580aba95 (diff)
Add passkey (WebAuthn) authentication support
Enable passwordless login via passkeys as an alternative to password auth. Users register passkeys from Settings; the login page offers both options. WebAuthn is optional — only active when WEBAUTHN_RP_ID and WEBAUTHN_ORIGIN env vars are set. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'test')
-rw-r--r--test/acceptance_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/acceptance_test.go b/test/acceptance_test.go
index c93090b..fb55be4 100644
--- a/test/acceptance_test.go
+++ b/test/acceptance_test.go
@@ -67,7 +67,7 @@ func setupTestServer(t *testing.T) (*httptest.Server, *store.Store, *http.Client
authService := auth.NewService(db.DB())
// Create a dummy template for auth handlers
authTemplates := template.Must(template.New("login.html").Parse(""))
- authHandlers := auth.NewHandlers(authService, sessionManager, authTemplates)
+ authHandlers := auth.NewHandlers(authService, sessionManager, authTemplates, nil)
// Ensure default user
_ = authService.EnsureDefaultUser("admin", "password")