review(env): shift secret to env file and added logger
This commit is contained in:
parent
b796746a45
commit
cc51763a6e
7 changed files with 21 additions and 2 deletions
|
|
@ -1,3 +1,4 @@
|
|||
require Logger
|
||||
defmodule MvWeb.AuthController do
|
||||
use MvWeb, :controller
|
||||
use AshAuthentication.Phoenix.Controller
|
||||
|
|
@ -22,6 +23,7 @@ defmodule MvWeb.AuthController do
|
|||
end
|
||||
|
||||
def failure(conn, activity, reason) do
|
||||
Logger.error(%{conn: conn, reason: reason})
|
||||
message =
|
||||
case {activity, reason} do
|
||||
{_,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue