Skip to content

Commit ab69db7

Browse files
committed
Version docs to 8.4
1 parent c84c39f commit ab69db7

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

docs/versioned_docs/version-8.4/cli-commands.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ We use [yargs](http://yargs.js.org/) and borrow its syntax here:
2121
yarn redwood generate page <name> [path] --option
2222
```
2323

24-
- `redwood g page` is the command.
24+
- `redwood generate page` is the command.
2525
- `<name>` and `[path]` are positional arguments.
2626
- `<>` denotes a required argument.
2727
- `[]` denotes an optional argument.

docs/versioned_docs/version-8.4/how-to/oauth.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -578,6 +578,8 @@ Don't forget the new `CryptoJS` import at the top!
578578
```js title="/api/src/functions/oauth/oauth.js"
579579
// highlight-next-line
580580
import CryptoJS from 'crypto-js'
581+
import { cookieName } from '@redwoodjs/auth-dbauth-api'
582+
import { cookieName as cookie } from 'src/lib/auth'
581583

582584
const callback = async (event) => {
583585
const { code } = event.queryStringParameters
@@ -643,7 +645,8 @@ const secureCookie = (user) => {
643645
data,
644646
process.env.SESSION_SECRET
645647
).toString()
646-
648+
//if you're using dbAuth v7.6.2, you have to change the cookie name. You can comment out the line below and make the next line as comment.
649+
//return [`${cookieName(cookie)}=${encrypted}`, ...cookieAttrs].join('; ')
647650
return [`session=${encrypted}`, ...cookieAttrs].join('; ')
648651
}
649652
// highlight-end

docs/versioned_docs/version-8.4/tutorial/chapter4/deployment.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ const signupOptions = {
119119
// ...
120120
```
121121
122-
The signup page itself is still visible, however. To remove it completely, remove the `<Route>` in the Router, and remove the "Don't have an acocunt? Sign up!" link on the login page.
122+
The signup page itself is still visible, however. To remove it completely, remove the `<Route>` in the Router, and remove the "Don't have an account? Sign up!" link on the login page.
123123
124124
Be sure to save your changes, then run `grove deploy` to push the changes live. Take that, hackers!
125125

docs/versioned_docs/version-8.4/tutorial/chapter5/testing.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Note that the summary on the bottom indicates that there was 1 test that failed.
4949

5050
If you continued with your own repo from chapters 1-4, you may see some other failures here or none at all: we made a lot of changes to the pages, components and cells we generated, but didn't update the tests to reflect the changes we made. (Another reason to start with the [example repo](../intermission.md#using-the-example-repo-recommended)!)
5151

52-
To switch back to the default mode where test are **o**nly run for changed files, press `o` now (or quit and restart `yarn rw test`).
52+
To switch back to the default mode where test are **only** run for changed files, press `o` now (or quit and restart `yarn rw test`).
5353

5454
What we want to aim for is all green in that left column and no failed tests. In fact best practices tell us you should not even commit any code to your repo unless the test suite passes locally. Not everyone adheres to this policy quite as strictly as others..._&lt;cough, cough&gt;_
5555

0 commit comments

Comments
 (0)