Allow renewing password setup links
This commit is contained in:
parent
4efce34821
commit
746bf21715
2 changed files with 10 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue