Skip to content

Commit d1512c5

Browse files
authored
Update README.md
1 parent 800619f commit d1512c5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,10 @@ In the long run, the goal is to transition the Meteor backend to Next as well, u
8383
- TODO: in Next, configure Passport to authenticate users using the existing Mongo database from Meteor.
8484
Vulcan Next now provides authentication.
8585
To update password:
86-
- In Vulcan Meteor, hashed password lives in `services.password.bcrypt`
87-
- You need to split this value like this: 22 characters after the 3rd $ is the `salt`. The rest is the `hash`. You can ignore the beginning.
88-
Example: `$2b$10$abcdefghijklmnopqrstuvWXYZ123456789` => `salt` is `abcdefghijklmnopqrstuv` and `hash` is `WXYZ12345678`
89-
- Store the `hash` in `hash` and `salt` in `salt` in the user document.
86+
- In Vulcan Meteor, hashed password lives in `services.password.bcrypt`
87+
- You need to split this value like this: 22 characters after the 3rd $ is the `salt`. The rest is the `hash`. You can ignore the beginning.
88+
Example: `$2b$10$abcdefghijklmnopqrstuvWXYZ123456789` => `salt` is `abcdefghijklmnopqrstuv` and `hash` is `WXYZ12345678`
89+
- Store the `hash` in `hash` and `salt` in `salt` in the user document.
9090

9191

9292
- You can use both Next's GraphQL API and Meteor's GraphQL API using the [Connect to multiple graphql API in the frontend pattern described here](https://github.com/VulcanJS/vulcan-next/blob/demo/with-meteor-backend/src/content/docs/recipes.md)

0 commit comments

Comments
 (0)