Merge pull request #42 from CloudFire-LLC/fix-session-csrf

Fix CSRF issue
This commit is contained in:
Jamil
2020-10-13 16:56:22 -05:00
committed by GitHub

View File

@@ -29,8 +29,6 @@ defmodule FgHttpWeb.SessionController do
{:error, changeset} ->
conn
|> clear_session()
|> assign(:session, nil)
|> put_flash(:error, "Error signing in.")
|> render("new.html", changeset: changeset)
end