diff --git a/frontend/src/styles/profile.scss b/frontend/src/styles/profile.scss
index 60e297343..dc79f425f 100644
--- a/frontend/src/styles/profile.scss
+++ b/frontend/src/styles/profile.scss
@@ -55,6 +55,12 @@
display: inline;
}
}
+ .lbOptOutReminder {
+ grid-column: span 2;
+ text-align: center;
+ color: var(--sub-color);
+ font-size: 0.8em;
+ }
}
.profile {
diff --git a/frontend/src/ts/elements/profile.ts b/frontend/src/ts/elements/profile.ts
index 03e2f2cad..02539547c 100644
--- a/frontend/src/ts/elements/profile.ts
+++ b/frontend/src/ts/elements/profile.ts
@@ -84,6 +84,17 @@ export async function update(
.append(
`
`
);
+
+ if (where === "profile") {
+ profileElement
+ .find(".lbOptOutReminder")
+ .removeClass("hidden")
+ .text(
+ "Note: This account has opted out of the leaderboards, meaning their results aren't verified by the anticheat system and may not be legitimate."
+ );
+ } else {
+ profileElement.find(".lbOptOutReminder").addClass("hidden");
+ }
}
setTimeout(() => {
diff --git a/frontend/src/ts/pages/profile.ts b/frontend/src/ts/pages/profile.ts
index abc1bc2be..dae48c875 100644
--- a/frontend/src/ts/pages/profile.ts
+++ b/frontend/src/ts/pages/profile.ts
@@ -146,7 +146,7 @@ function reset(): void {
-
- `);
+ `);
}
interface UpdateOptions {
diff --git a/frontend/static/html/pages/profile.html b/frontend/static/html/pages/profile.html
index 899f6638f..2130b5674 100644
--- a/frontend/static/html/pages/profile.html
+++ b/frontend/static/html/pages/profile.html
@@ -156,6 +156,7 @@
+