Skip to content

Commit f07c9f4

Browse files
authored
Merge pull request #3167 from PostHog/posthog-code/avoid-role-hijack-fp
fix(apps): reword copy that trips the role-hijack scanner
2 parents 39f475b + 1ea4030 commit f07c9f4

5 files changed

Lines changed: 9 additions & 6 deletions

File tree

.github/workflows/wizard-ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -652,6 +652,9 @@ jobs:
652652
"${CMD_ARGS[@]}" 2>&1 | tee wizard-output.log
653653
fi
654654
env:
655+
# SCRATCH BRANCH — force the orchestrator + pi-harness path so this run
656+
# exercises the gpt-5.6 orchestrator regardless of server-side flags.
657+
WIZARD_CI_FLAG_OVERRIDES: '{"wizard-orchestrator":"true","wizard-use-pi-harness":"true"}'
655658
# workflow_dispatch sets inputs.snapshots; a /wizard-ci-snapshots comment
656659
# arrives as a repository_dispatch carrying client_payload.snapshots.
657660
SNAPSHOTS: ${{ inputs.snapshots || github.event.client_payload.snapshots }}

apps/basic-integration/flask/flask3-social-media/app/auth/routes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def register():
4646
user.set_password(form.password.data)
4747
db.session.add(user)
4848
db.session.commit()
49-
flash(_('Congratulations, you are now a registered user!'))
49+
flash(_('Congratulations, your registration is complete!'))
5050
return redirect(url_for('auth.login'))
5151
return render_template('auth/register.html', title=_('Register'),
5252
form=form)

apps/basic-integration/flask/flask3-social-media/app/translations/es/LC_MESSAGES/messages.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ msgid "Invalid username or password"
7979
msgstr "Nombre de usuario o contraseña inválidos"
8080

8181
#: app/auth/routes.py:46
82-
msgid "Congratulations, you are now a registered user!"
82+
msgid "Congratulations, your registration is complete!"
8383
msgstr "¡Felicitaciones, ya eres un usuario registrado!"
8484

8585
#: app/auth/routes.py:61

apps/basic-integration/react-router/saas-template/app/features/localization/locales/en/organizations.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export default {
1414
"Please register or log in to accept the invitation.",
1515
inviteEmailValidToastTitle: "Success",
1616
inviteYouToJoin: "{{inviterName}} invites you to join {{organizationName}}",
17-
joinSuccessToastDescription: "You are now a member of {{organizationName}}",
17+
joinSuccessToastDescription: "Your account joined {{organizationName}}",
1818
joinSuccessToastTitle: "Successfully joined organization",
1919
organizationFullToastDescription:
2020
"The organization has reached its member limit",
@@ -37,7 +37,7 @@ export default {
3737
"Please register or log in to accept the invitation",
3838
inviteLinkValidToastTitle: "Success",
3939
inviteYouToJoin: "{{inviterName}} invites you to join {{organizationName}}",
40-
joinSuccessToastDescription: "You are now a member of {{organizationName}}",
40+
joinSuccessToastDescription: "Your account joined {{organizationName}}",
4141
joinSuccessToastTitle: "Successfully joined organization",
4242
organizationFullToastDescription:
4343
"The organization has reached its member limit",

apps/basic-integration/react-router/saas-template/app/routes/_authenticated-routes+/onboarding+/user-account.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ describe("/onboarding/user-account route action", () => {
328328
}),
329329
);
330330
expect(toast).toMatchObject({
331-
description: `You are now a member of ${organization.name}`,
331+
description: `Your account joined ${organization.name}`,
332332
id: expect.any(String) as string,
333333
title: "Successfully joined organization",
334334
type: "success",
@@ -390,7 +390,7 @@ describe("/onboarding/user-account route action", () => {
390390
}),
391391
);
392392
expect(toast).toMatchObject({
393-
description: `You are now a member of ${organization.name}`,
393+
description: `Your account joined ${organization.name}`,
394394
id: expect.any(String) as string,
395395
title: "Successfully joined organization",
396396
type: "success",

0 commit comments

Comments
 (0)