Use the sole collection as the root for a better onboarding experience for new accounts

This commit is contained in:
Jorge Manrubia
2025-11-04 16:59:40 +01:00
parent 2e0ce7bda9
commit 2bb90eab13
12 changed files with 40 additions and 9 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ class JoinCodesController < ApplicationController
identity.send_magic_link
end
session[:return_to_after_authenticating] = root_url(script_name: "/#{tenant}")
session[:return_to_after_authenticating] = landing_url(script_name: "/#{tenant}")
redirect_to session_magic_link_path
end