Remove the internal API

* Bind sessions to identities
* Remove references to the identity token
* Move email changes to identity
* Move account menu into a turbo-frame
* Create tenants from a tenanted route
This commit is contained in:
Stanko Krtalić
2025-10-29 13:02:29 +01:00
committed by Stanko K.R.
parent 440631c790
commit 98755844a1
108 changed files with 1096 additions and 1796 deletions
@@ -1,13 +1,13 @@
require "test_helper"
class ControllerAuthenticationTest < ActionDispatch::IntegrationTest
test "access without an account slug redirects to login menu" do
identify_as :kevin
test "access without an account slug redirects to menu" do
sign_in_as :kevin
integration_session.default_url_options[:script_name] = "" # no tenant
get cards_path
assert_redirected_to session_login_menu_path
assert_redirected_to session_menu_path
end
test "access with an account slug but no session redirects to new session" do