Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ You can do this with: `cp .env.example .env`
1. Install by running the following command: `brew install postgres`
2. Start the command service by running the following command: `brew services start postgresql`
3. Create a postgres user by running the following command: `createuser postgres -s`
4. Login into the Postgres cli with by running the following command: `psql -U postgres`
4. Login into the Postgres cli by running the following command: `psql -U postgres`
5. Create a test database by typing the following command: `create database gitpay_test;`
6. Create a dev database by running the following command: `create database gitpay_dev;`
7. Run this command to exit: `\q`
Expand Down Expand Up @@ -133,7 +133,7 @@ Then you can access at http://localhost:8082

### Activating user account locally

When you run your backend node server, the e-mail notifications will output in your console, so when setup a new user, you should look for the activation link:
When you run your backend node server, the e-mail notifications will output in your console, so when setting up a new user, you should look for the activation link:

```
----- email / subject ----
Expand Down
2 changes: 1 addition & 1 deletion src/modules/users/userChangePassword.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ module.exports = Promise.method(function userChangePassword (userParameters) {

const passwordIsValid = foundUser.verifyPassword(oldPassword, existingPassword)
if (!passwordIsValid) {
throw new Error('user.password.incorerct.current')
throw new Error('user.password.incorrect.current')
}

const passwordHash = models.User.generateHash(newPassword)
Expand Down