diff --git a/api-server/server/boot/user.js b/api-server/server/boot/user.js index 3e6e87f73a..a0c39f5d02 100644 --- a/api-server/server/boot/user.js +++ b/api-server/server/boot/user.js @@ -216,7 +216,7 @@ function createPostReportUserProfile(app) { return Email.send$( { type: 'email', - to: 'team@freecodecamp.org', + to: 'support@freecodecamp.org', cc: user.email, from: 'team@freecodecamp.org', subject: `Abuse Report : Reporting ${username}'s profile.`, diff --git a/client/src/components/profile/Profile.js b/client/src/components/profile/Profile.js index ff89973bf6..82071e7a1a 100644 --- a/client/src/components/profile/Profile.js +++ b/client/src/components/profile/Profile.js @@ -196,7 +196,9 @@ function Profile({ user, isSessionUser, navigate }) { {!isLocked || isSessionUser ? renderProfile(user) : null} {isSessionUser ? null : ( - Report This User + + Flag This User's Account for Abuse + )} diff --git a/client/src/components/profile/Profile.test.js b/client/src/components/profile/Profile.test.js index 40333ffc1b..7d2a11160a 100644 --- a/client/src/components/profile/Profile.test.js +++ b/client/src/components/profile/Profile.test.js @@ -68,7 +68,7 @@ describe('', () => { it('renders the report button on another persons profile', () => { const { getByText } = render(); - expect(getByText('Report This User')).toHaveAttribute( + expect(getByText("Flag This User's Account for Abuse")).toHaveAttribute( 'href', '/user/string/report-user' ); diff --git a/client/src/components/profile/__snapshots__/Profile.test.js.snap b/client/src/components/profile/__snapshots__/Profile.test.js.snap index 49621351f0..dcdf51ac02 100644 --- a/client/src/components/profile/__snapshots__/Profile.test.js.snap +++ b/client/src/components/profile/__snapshots__/Profile.test.js.snap @@ -146,7 +146,7 @@ exports[` renders correctly 1`] = ` - Report This User + Flag This User's Account for Abuse