doc: added comments and updated to latest ashautentication version and required changes

This commit is contained in:
carla 2025-06-19 15:34:24 +02:00 committed by carla
parent a6fcaa1640
commit 7bfde5e230
19 changed files with 74 additions and 478 deletions

View file

@ -22,8 +22,6 @@ defmodule MvWeb.AuthController do
end
def failure(conn, activity, reason) do
IO.puts(inspect(reason))
message =
case {activity, reason} do
{_,
@ -50,7 +48,7 @@ defmodule MvWeb.AuthController do
return_to = get_session(conn, :return_to) || ~p"/"
conn
|> clear_session()
|> clear_session(:mv)
|> put_flash(:info, "You are now signed out")
|> redirect(to: return_to)
end