Add some protections around sharing the magic link in development

This commit is contained in:
Jorge Manrubia
2025-12-02 10:51:14 +01:00
parent e1989bdef1
commit c9ebb79dbd
4 changed files with 16 additions and 2 deletions
@@ -18,6 +18,7 @@ class SessionsControllerTest < ActionDispatch::IntegrationTest
end
assert_redirected_to session_magic_link_path
assert_nil flash[:magic_link_code]
end
end