Skip to content
This repository has been archived by the owner on Aug 5, 2024. It is now read-only.

Commit

Permalink
0.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
kreejzak committed Apr 6, 2023
1 parent 6235d90 commit 8fb3c90
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Changelog

## v0.4.1

### Features

- Added ability to add custom CSRF keys

### ❤️ Contributors

- Conor-Hughes

## v0.4.0

### Features
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ export default defineNuxtConfig({
logout: '/logout',
user: '/user'
},
csrf: {
headerKey: 'X-XSRF-TOKEN',
cookieKey: 'XSRF-TOKEN'
},
redirects: {
home: '/account',
login: '/auth/login',
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nuxt-sanctum-auth",
"version": "0.4.0",
"version": "0.4.1",
"license": "MIT",
"type": "module",
"exports": {
Expand All @@ -19,7 +19,7 @@
"dev": "nuxi dev playground",
"dev:build": "nuxi build playground",
"dev:prepare": "nuxt-module-build --stub && nuxi prepare playground",
"release": "npm run prepack && changelogen --release && npm publish && git push --follow-tags"
"release": "npm run prepack && npm publish && git push --follow-tags"
},
"dependencies": {
"@nuxt/kit": "^3.0.0",
Expand Down

0 comments on commit 8fb3c90

Please sign in to comment.