Add some protections around sharing the magic link in development
This commit is contained in:
@@ -18,6 +18,7 @@ class SessionsControllerTest < ActionDispatch::IntegrationTest
|
||||
end
|
||||
|
||||
assert_redirected_to session_magic_link_path
|
||||
assert_nil flash[:magic_link_code]
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user