about summary refs log tree commit diff
path: root/kittybox-rs/javascript/src/indieauth.ts
diff options
context:
space:
mode:
Diffstat (limited to 'kittybox-rs/javascript/src/indieauth.ts')
-rw-r--r--kittybox-rs/javascript/src/indieauth.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/kittybox-rs/javascript/src/indieauth.ts b/kittybox-rs/javascript/src/indieauth.ts
index 8222070..ef314e9 100644
--- a/kittybox-rs/javascript/src/indieauth.ts
+++ b/kittybox-rs/javascript/src/indieauth.ts
@@ -63,7 +63,7 @@ async function webauthn_authenticate() {
   }
 }
 
-async function submit_handler(e: SubmitEvent) {
+export async function submit_handler(e: SubmitEvent) {
   e.preventDefault();
   if (e.target != null && e.target instanceof HTMLFormElement) {
     const form = e.target as HTMLFormElement;