From 4529d4d8cc29447586354d4fa76470448757523d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonatan=20K=C5=82osko?= Date: Sun, 27 Aug 2023 14:34:56 +0200 Subject: [PATCH] Add clarification for one-time code intended usage --- client/src/components/OneTimeCode/OneTimeCode.jsx | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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. + +