From 0a1001eb0bd2d1f7c0624ae1ef8ae7ccdb3447d4 Mon Sep 17 00:00:00 2001 From: Peter Stone Date: Thu, 5 Feb 2026 15:35:01 -1000 Subject: Add passkey (WebAuthn) authentication support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- test/acceptance_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') 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") -- cgit v1.2.3