Skip to content

Commit

Permalink
doc: Clarify session storage behavior on sign_in in README (#714)
Browse files Browse the repository at this point in the history
  • Loading branch information
KaylaBrady authored Nov 9, 2022
1 parent d467955 commit f6459d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ Congrats! We have a working Guardian implementation.
With Plug:

```elixir
# If a session is loaded the token/resource/claims will be put into the session and connection
# If no session is loaded, the token/resource/claims only go onto the connection
# The token/resource/claims will be stored on the connection.
# The token will also be stored in the session (if fetched)
conn = MyApp.Guardian.Plug.sign_in(conn, resource)

# Optionally with claims and options
Expand Down

0 comments on commit f6459d0

Please sign in to comment.