Skip to content

Commit

Permalink
example: update passport example for default strategy name
Browse files Browse the repository at this point in the history
  • Loading branch information
panva committed Nov 28, 2024
1 parent d2bc102 commit db5af11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/passport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ app.get('/', ensureLoggedIn('/login'), (req, res) => {
app.get(
'/login',
ensureLoggedOut('/logout'),
passport.authenticate(server.hostname),
passport.authenticate(server.host),
)

app.get('/logout', (req, res) => {
Expand Down

0 comments on commit db5af11

Please sign in to comment.