Skip to content

Commit

Permalink
fixed two typos in username and password/nuxt docs (#1431)
Browse files Browse the repository at this point in the history
  • Loading branch information
moshetanzer authored Feb 14, 2024
1 parent af2e489 commit 1991dd8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/pages/tutorials/username-and-password/nuxt.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ interface DatabaseUserAttributes {

## Sign up user

Create `pages/signup.nuxt` and set up a basic form.
Create `pages/signup.vue` and set up a basic form.

```vue
<!--pages/signup.vue-->
Expand All @@ -73,7 +73,7 @@ async function signup(e: Event) {
<template>
<h1>Create an account</h1>
<form method="post" action="/api/login" @submit.prevent="signup">
<form method="post" action="/api/signup" @submit.prevent="signup">
<label htmlFor="username">Username</label>
<input name="username" id="username" />
<br />
Expand Down

0 comments on commit 1991dd8

Please sign in to comment.