Skip to content

Commit d5a867c

Browse files
committed
rename server sessions to mention browser cookies
1 parent a609c6b commit d5a867c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

attendabot/frontend/src/simulations/flowData.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,8 @@ export const flows: AuthFlow[] = [
138138
to: "client",
139139
label: "Login successful",
140140
description:
141-
"The hashes match! The server now knows the user provided the correct password, without ever having stored it. From here, the server creates a session (see the Server-Side Sessions flow).",
142-
payload: `HTTP/1.1 200 OK\nSet-Cookie: session_id=s_abc123;\n HttpOnly; Secure\n\n{ "message": "Welcome back, Alice!" }\n\n\u2192 See "Server-Side Sessions" for\n what happens next`,
141+
"The hashes match! The server now knows the user provided the correct password, without ever having stored it. From here, the server creates a session (see the Server Sessions+Browser Cookies flow).",
142+
payload: `HTTP/1.1 200 OK\nSet-Cookie: session_id=s_abc123;\n HttpOnly; Secure\n\n{ "message": "Welcome back, Alice!" }\n\n\u2192 See "Server Sessions+Browser Cookies" for\n what happens next`,
143143
color: "#4ade80",
144144
},
145145
],
@@ -264,10 +264,10 @@ export const flows: AuthFlow[] = [
264264
],
265265
},
266266

267-
// ── Server-Side Sessions ──
267+
// ── Server Sessions+Browser Cookies ──
268268
{
269269
id: "sessions",
270-
title: "Server-Side Sessions",
270+
title: "Server Sessions+Browser Cookies",
271271
subtitle: "Stateful: server stores session records",
272272
entities: [
273273
{ id: "client", label: "Browser", icon: "\uD83C\uDF10", color: "#6c8cff" },

0 commit comments

Comments
 (0)