diff --git a/CHANGELOG.md b/CHANGELOG.md index c9924975..4cde07c6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/lib/pow/plug/session.ex b/lib/pow/plug/session.ex index 00561ada..cc21c111 100644 --- a/lib/pow/plug/session.ex +++ b/lib/pow/plug/session.ex @@ -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)