Allow renewing password setup links
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 1s

This commit is contained in:
tegwick 2026-07-28 17:33:12 +02:00
parent 4efce34821
commit 746bf21715
2 changed files with 10 additions and 0 deletions

View file

@ -198,6 +198,13 @@ class PortalApplicationTests(unittest.TestCase):
self.assertEqual("200 OK", handoff["status"])
self.assertIn(b"Continue to password setup", html)
self.assertIn(b"https://kc.example/setup/password?token=opaque", html)
page, html = invoke(
self.app,
"/admin/tenant:friendly:binky",
cookie="ue_session=browser",
)
self.assertEqual("200 OK", page["status"])
self.assertIn(b"Create password setup link", html)
class FakeProvisioning: