diff --git a/app/views/devise/sessions/new.html.erb b/app/views/devise/sessions/new.html.erb index baca3e563..0cbd57e82 100644 --- a/app/views/devise/sessions/new.html.erb +++ b/app/views/devise/sessions/new.html.erb @@ -1,3 +1,4 @@ +<%= content_for(:canonical_url, new_user_session_url) %>
<%= render 'devise/shared/select_server' if Docuseal.multitenant? %>

<%= t('sign_in') %>

diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 4de5c8c76..590e0b23a 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -11,6 +11,9 @@ <% else %> <%= javascript_pack_tag 'application', defer: true %> <% end %> + <% if canonical_url = content_for(:canonical_url) %> + + <% end %> <%= stylesheet_pack_tag 'application', media: 'all' %> <%= render 'shared/posthog' if ENV['POSTHOG_TOKEN'] %> <%= render 'shared/plausible' if !signed_in? && ENV['PLAUSIBLE_DOMAIN'] %>