Skip to content

Commit

Permalink
feat(nuxt-auth): rename protected page to profile
Browse files Browse the repository at this point in the history
  • Loading branch information
gravitano committed Mar 2, 2023
1 parent 5b72a09 commit 4b86ac9
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<script setup lang="ts">
useHead({
title: 'Protected',
title: 'Profile',
meta: [
{
key: 'description',
name: 'description',
content: 'Protected page',
content: 'Profile page',
},
],
});
Expand All @@ -27,6 +27,8 @@ const {data, signOut} = useSession();
<h3 class="font-semibold text-xl text-gray-900">
Welcome back, {{ data?.user?.name }}!
</h3>
<p class="mt-2 text-gray-700">This is protected page!</p>
<p class="mt-2 text-gray-700">
This is a profle page. You can only see this page if you are signed in.
</p>
</div>
</template>

0 comments on commit 4b86ac9

Please sign in to comment.