diff --git a/client/src/components/OneTimeCode/OneTimeCode.jsx b/client/src/components/OneTimeCode/OneTimeCode.jsx index 06c13f2c..d27cf255 100644 --- a/client/src/components/OneTimeCode/OneTimeCode.jsx +++ b/client/src/components/OneTimeCode/OneTimeCode.jsx @@ -1,6 +1,6 @@ import { useState } from "react"; import { gql, useMutation } from "@apollo/client"; -import { Button, Grid, Typography } from "@mui/material"; +import { Alert, Button, Grid, Typography } from "@mui/material"; import useApolloErrorHandler from "../../hooks/useApolloErrorHandler"; import CodeDialog from "./CodeDialog"; @@ -47,6 +47,15 @@ function OneTimeCode() { just the temporary code. + + + You should never use the code to let someone else use your account + for scoretaking, especially if you are a privileged user + (organizer/delegate). Instead, the person should create a WCA + account and then be added as a scoretaker in the competition + settings. + +