Log in

Please use your LDAP credentials to log in. You may <%= link "register a new account", to: Routes.user_registration_path(@conn, :new) %> if you do not already have one.

<%= form_for @conn, Routes.user_session_path(@conn, :create), [as: :user], fn f -> %> <%= if @error_message do %>

<%= @error_message %>

<% end %> <%= email_input f, :email, required: true, placeholder: "Email" %>
<%= password_input f, :password, required: true, placeholder: "Password" %>
<%= label f, :remember_me, "Keep me logged in for 60 days" %> <%= checkbox f, :remember_me %>
<%= submit "Log in" %>
<% end %>

<%= link "Forgot your password?", to: Routes.user_reset_password_path(@conn, :new) %>