<h1>login</h1>

<%= form_for @conn, session_path(@conn, :create), [as: :session], fn f -> %>
  <%= text_input f, :user_name, placeholder: "username" %>
  <%= text_input f, :password, placeholder: "password" %>
  <%= submit "login" %>
<% end %>

<h1>login</h1>

<%= form_for @conn, session_path(@conn, :create), [as: :session], fn f -> %>
  <%= text_input f, :user_name, placeholder: "username" %>
  <%= password_input f, :password, placeholder: "password" %>
  <%= submit "login" %>
<% end %>

Change `text_input` to `password_input` in login form.
Change `text_input` to `password_input` in login form.
