Skip to content

Commit

Permalink
Remove duplicate call of delete
Browse files Browse the repository at this point in the history
  • Loading branch information
danschultzer committed Jun 7, 2019
1 parent ed9dbfc commit a91de81
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

* All links in docs generated with `mix docs` and on [hexdocs.pm](http://hexdocs.pm/pow/) now works
* Generated docs now uses lower case file name except for `README`, `CONTRIBUTING` and `CHANGELOG`
* Removed duplicate call for `Pow.Plug.Session.delete/2` in `Pow.Plug.Sesssion.create/3`

## v1.0.9 (2019-06-04)

Expand Down
1 change: 0 additions & 1 deletion lib/pow/plug/session.ex
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ defmodule Pow.Plug.Session do
session_key = session_key(config)
{store, store_config} = store(config)
value = session_value(user)
conn = delete(conn, config)

store.put(store_config, key, value)

Expand Down

0 comments on commit a91de81

Please sign in to comment.