Skip to content
Open
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
31 changes: 31 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Web Based Nodejs Passport Login System
- Thanks to C WebDevSimplified - This is one of the most helpful opensource Projects for WebDevs.

#### However, a few things if you are running this in 2023-2024 or later.
- **You must update express module**
- **You have to update package-lock.json**

```
npm i --package-lock-only
```

or via yarn

```
yarn install --mode update-lockfile
```
- **Make sure your set environment in .env is correspond to your key in server.js in app.use**

```
app.use(session({
secret: process.env.SESSION_SECRET,
resave: false,
saveUninitialized: false
}))
```

- With the right dependencies, your application should run.

<img width="946" alt="image" src="https://github.com/WebDevSimplified/Nodejs-Passport-Login/assets/55284959/931f2cfd-a5e4-48b5-bac3-b9da519d860f">


Loading