Skip to content

Commit

Permalink
🔒 added argon2 to hash password
Browse files Browse the repository at this point in the history
  • Loading branch information
PranjalAgni committed Feb 24, 2021
1 parent 40503c1 commit c80d600
Show file tree
Hide file tree
Showing 5 changed files with 392 additions and 16 deletions.
7 changes: 7 additions & 0 deletions .env.development
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
PORT=3000
ACCESS_TOKEN_SECRET=this_is_a_access_token_secret
REFRESH_TOKEN_SECRET=this_is_a_refresh_token_secret
DB_HOST=localhost
DB_SCHEMA=shawarma
DB_USER=pranjal
DB_PASSWORD=
2 changes: 1 addition & 1 deletion ormconfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ module.exports = {
entities: [join(__dirname, "dist/entities", "*.{ts,js}")],
migrations: [__dirname + "/src/migrations/*.{ts,js}"],
subscribers: [__dirname + "/src/subscribers/*.{ts,js}"]
};
};
Loading

0 comments on commit c80d600

Please sign in to comment.