diff --git a/api/db/dev.db-journal b/api/db/dev.db-journal new file mode 100644 index 0000000..998db2d Binary files /dev/null and b/api/db/dev.db-journal differ diff --git a/api/package.json b/api/package.json index f7c65c3..843a955 100644 --- a/api/package.json +++ b/api/package.json @@ -3,7 +3,7 @@ "version": "0.0.0", "private": true, "dependencies": { - "@redwoodjs/api": "0.45.0", - "@redwoodjs/graphql-server": "0.45.0" + "@redwoodjs/api": "0.49.1", + "@redwoodjs/graphql-server": "0.49.1" } } diff --git a/api/src/functions/auth.js b/api/src/functions/auth.js index 684dc6e..a1a3075 100644 --- a/api/src/functions/auth.js +++ b/api/src/functions/auth.js @@ -143,6 +143,14 @@ export const handler = async (event, context) => { login: loginOptions, resetPassword: resetPasswordOptions, signup: signupOptions, + + cookie: { + HttpOnly: true, + Path: '/', + SameSite: 'Strict', + Secure: true, + // Domain: 'example.com', + }, }) return await authHandler.invoke() diff --git a/package.json b/package.json index 0cc8ae6..36b142e 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ ] }, "devDependencies": { - "@redwoodjs/core": "0.45.0" + "@redwoodjs/core": "0.49.1" }, "eslintConfig": { "extends": "@redwoodjs/eslint-config" diff --git a/web/package.json b/web/package.json index 4a708a2..31c002e 100644 --- a/web/package.json +++ b/web/package.json @@ -13,23 +13,22 @@ ] }, "dependencies": { - "@redwoodjs/auth": "0.44.1", - "@redwoodjs/forms": "0.45.0", - "@redwoodjs/router": "0.45.0", - "@redwoodjs/web": "0.45.0", - "netlify-identity-widget": "1.9.2", + "@redwoodjs/auth": "0.49.1", + "@redwoodjs/forms": "0.49.1", + "@redwoodjs/router": "0.49.1", + "@redwoodjs/web": "0.49.1", "prop-types": "15.8.1", "react": "17.0.2", "react-dom": "17.0.2" }, "devDependencies": { "@tailwindcss/aspect-ratio": "0.4.0", - "@tailwindcss/forms": "0.4.0", + "@tailwindcss/forms": "0.5.0", "@tailwindcss/line-clamp": "0.3.1", - "@tailwindcss/typography": "0.5.1", + "@tailwindcss/typography": "0.5.2", "autoprefixer": "10.4.2", - "postcss": "8.4.6", + "postcss": "8.4.8", "postcss-loader": "6.2.1", - "tailwindcss": "3.0.18" + "tailwindcss": "3.0.23" } } diff --git a/web/src/pages/FatalErrorPage/FatalErrorPage.js b/web/src/pages/FatalErrorPage/FatalErrorPage.js index b21e3cc..d5c959a 100644 --- a/web/src/pages/FatalErrorPage/FatalErrorPage.js +++ b/web/src/pages/FatalErrorPage/FatalErrorPage.js @@ -7,11 +7,19 @@ // still render a generic error page, but your users will prefer something a bit more // thoughtful. =) -export default () => ( -
-