Skip to content
Closed
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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ of helpers given previously, the alternative leveraging userAlias would look lik
`everyauth` also provides convenience methods on the `ServerRequest` instance `req`.
From any scope that has access to `req`, you get the following convenience getters and methods:

- `req.loggedIn` - a Boolean getter that tells you if the request is by a logged in user
- `req.session.auth.loggedIn` - a Boolean getter that tells you if the request is by a logged in user
- `req.user` - the User document associated with the session
- `req.logout()` - clears the sesion of your auth data

Expand Down