ash_authentication_phoenix/dev/dev_web/templates/page/index.html.heex
James Harton e25a8bf397
feat: UI refresh. (#3)
* Redesign the overrides system to be easier to reason about.
* Redesign the password UI to be fancier.
2022-10-28 20:13:48 +13:00

9 lines
258 B
Text

<%= if @current_user do %>
<h2>Current user: <%= @current_user.email %></h2>
<%= link("Sign out", to: Routes.auth_path(@conn, :sign_out)) %>
<% else %>
<h2>Please sign in</h2>
<%= link("Sign in", to: Routes.auth_path(@conn, :sign_in)) %>
<% end %>