Skip to content

Commit

Permalink
Fixed bug in signup hacker check
Browse files Browse the repository at this point in the history
  • Loading branch information
prioux committed Feb 17, 2025
1 parent 5334ce4 commit 7d68f4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BrainPortal/app/views/signups/new.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

<%= form_for @signup, :url => {:action => (@signup.new_record? ? "create" : "update"), :id => @signup.id} do |f| %>
<%= error_messages_for @signup %>
<%= hidden_field_tag(:auth_spec, (@auth_spec.to_s || Time.now.to_i.to_s)) %>
<%= hidden_field_tag(:auth_spec, (@auth_spec.to_s.presence || Time.now.to_i.to_s)) %>

<div class="generalbox">
<p class="warning"> Fields with an asterisk (*) are mandatory.</p>
Expand Down

0 comments on commit 7d68f4e

Please sign in to comment.