Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- defmodule CatcastsWeb.AuthController do
- use CatcastsWeb, :controller
- plug Ueberauth
- alias Catcasts.User
- alias Catcasts.Repo
- ... # Code removed for readability
- def delete(conn, _params) do
- conn
- |> configure_session(drop: true)
- |> redirect(to: "/")
- end
- ... # Code removed for readability
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement