Don't remove cookies twice (#571)

This commit is contained in:
Jamil
2022-05-03 15:57:10 -07:00
committed by GitHub
parent d0fad02c1b
commit 53d8f0803a

View File

@@ -50,7 +50,6 @@ defmodule FzHttpWeb.AuthController do
def delete(conn, _params) do
conn
|> configure_session(drop: true)
|> Authentication.sign_out()
|> put_flash(:info, "You are now signed out.")
|> redirect(to: Routes.root_path(conn, :index))