Oops! Authentication Required

We are currently running with a <%= Rails.env %> configuration

<% if flash[:notice] %>

<%= flash[:notice] %>

<% end %> <% if flash[:error] %>

<%= flash[:error] %>

<% end %>
<% if Rails.env.eql? "development" %>

As a convenience, anyone can login as anyone when in dev mode - just enter a valid cdid and go

If you need to test real authentication, uncheck the override box and enter a UAT password.
If you don't know what your UAT cdid password is then speak to someone in EIO@teamaol.com

<% else %>

This login screen should only appear when in development mode so something has gone wrong.
However, you can still use the system if you enter valid cdid credentials.
Someone has been notified of the situation so don't worry :)

<% end %> <%= form_tag els_session_create_path, :class => "els_session" do %>
<%= label_tag :username %> <%= text_field_tag :username, params[:username] %>
"> <%= label_tag :password %> <%= password_field_tag :password, params[:password] %>
<% if Rails.env.eql? "development" %>
<%= label_tag "Override: Just log me in and forget the password. I know what I'm doing, honest :)" %> <%= check_box_tag :override, params[:override] %>
<% end %>
<%= submit_tag "Log in" %>
<% end %>