Merge pull request #4758 from tomhughes/login-referer

Stop using the session to persist the referer during login
This commit is contained in:
Andy Allan 2024-05-22 12:09:31 +01:00 committed by GitHub
commit 8a5c9a8052
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 31 additions and 40 deletions

View file

@ -16,7 +16,7 @@
<%= link_to t("sessions.new.tab_title"), "#", :class => "nav-link active" %>
</li>
<li class="nav-item">
<%= link_to t("users.new.tab_title"), url_for(:action => :new, :controller => :users), :class => "nav-link" %>
<%= link_to t("users.new.tab_title"), url_for(:action => :new, :controller => :users, :referer => params[:referer]), :class => "nav-link" %>
</li>
</ul>
</div>