replace coherence with guardian
This commit is contained in:
7
lib/eventos_web/views/session_view.ex
Normal file
7
lib/eventos_web/views/session_view.ex
Normal file
@@ -0,0 +1,7 @@
|
||||
defmodule EventosWeb.SessionView do
|
||||
use EventosWeb, :view
|
||||
|
||||
def render("token.json", %{token: token}) do
|
||||
%{token: token}
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user