Skip to content

Commit

Permalink
fix: update link to vuejs amsterdam
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Jun 2, 2022
1 parent 03eb120 commit 5fc707b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Nuxt 3 + Medium (n3dium)

This is a tiny, incomplete example for a paywalled content site built in [Nuxt 3](https://v3.nuxtjs.org/) for a live-coding session at [Vue.js Global Summit 2022](https://vue.geekle.us/).
This is a tiny, incomplete example for a paywalled content site built in [Nuxt 3](https://v3.nuxtjs.org/) for a live-coding session at [Vue.js Global Summit 2022](https://vue.geekle.us/) and [Vue.js Amsterdam 2022](https://vuejs.amsterdam/).

- [ Live Demo](https://n3dium.netlify.app/login)

Expand Down
2 changes: 1 addition & 1 deletion pages/login.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ async function handleLogin(e: Event) {
</div>
<label>
User name:
<input name="username" type="text" required placeholder="vuejsglobal" />
<input name="username" type="text" required placeholder="vue" />
</label>
<label>
Password:
Expand Down
2 changes: 1 addition & 1 deletion server/api/login.post.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import * as jose from 'jose'
export default defineEventHandler(async event => {
const { username, password } = await useBody(event)

if (username !== 'vuejsglobal' || password !== 'ilovenuxt') {
if (username !== 'vue' || password !== 'ilovenuxt') {
throw createError({
statusCode: 401,
message: 'Invalid username or password',
Expand Down

0 comments on commit 5fc707b

Please sign in to comment.