app/views/casino/sessions/new.html.erb in casino-3.0.4 vs app/views/casino/sessions/new.html.erb in casino-4.0.0.pre.1
- old
+ new
@@ -11,10 +11,10 @@
<%= image_tag "logo.png" %>
</div>
<div class="form">
<%= form_tag(login_path, method: :post, id: 'login-form') do %>
- <%= hidden_field_tag :lt, @login_ticket.ticket %>
+ <%= hidden_field_tag :lt, CASino::LoginTicket.create.ticket %>
<%= hidden_field_tag :service, params[:service] unless params[:service].nil? %>
<%= label_tag :username, t('login.label_username') %>
<%= text_field_tag :username, params[:username], autofocus:true %>
<%= label_tag :password, t('login.label_password') %>
<%= password_field_tag :password %>