Name the account site NetKingdom Identity.
Say "Signed in as" the identity, and describe a one-time code as a higher security level of the NetKingdom sign-in rather than another sign-in. The account site keeps its own session. Assistant: grok Assistant-Session: 01a0d25d-d358-7e13-b84a-d007fbb7e34f
This commit is contained in:
parent
b5c60ab2bd
commit
b987a3de9e
9 changed files with 50 additions and 39 deletions
|
|
@ -17,7 +17,7 @@ class AccountClarityTests(unittest.TestCase):
|
|||
self.assertIn(b'href="/login">Sign in', body)
|
||||
self.assertNotIn(b'href="/logout"', body)
|
||||
self.assertNotIn(b'action="/logout"', body)
|
||||
self.assertNotIn(b'Signed in to this portal as', body)
|
||||
self.assertNotIn(b'Signed in as', body)
|
||||
self.assertNotIn(b'You have logged out', body)
|
||||
self.assertEqual('no-store', response['headers']['Cache-Control'])
|
||||
|
||||
|
|
@ -27,7 +27,7 @@ class AccountClarityTests(unittest.TestCase):
|
|||
with self.subTest(path=path, who=who):
|
||||
response, body = invoke(self.app, path, cookie='ue_session='+who)
|
||||
self.assertEqual('200 OK', response['status'])
|
||||
self.assertIn(b'Signed in to this portal as', body)
|
||||
self.assertIn(b'Signed in as', body)
|
||||
self.assertIn(b'href="/logout"', body)
|
||||
self.assertNotIn(b'href="/login"', body)
|
||||
self.assertNotIn(b'Verify my current identity', body)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue