Skip to content

Commit

Permalink
copy updates (proofcarryingdata#1224)
Browse files Browse the repository at this point in the history
  • Loading branch information
ichub authored Nov 12, 2023
1 parent 0560052 commit c45351b
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 28 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,8 @@ export function ChangePasswordScreen() {
<H2>{isChangePassword ? "Change" : "Add"} Password</H2>
<Spacer h={24} />
Make sure that your {isChangePassword ? "new" : ""} password is
secure, unique, and memorable.
secure, unique, and memorable. If you forget your password, you'll
have to reset your account, and you will lose access to all your PCDs.
</TextCenter>
<Spacer h={24} />
{isChangePassword && (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import { ResendCodeButton } from "../shared/ResendCodeButton";
export function EnterConfirmationCodeScreen() {
const query = useQuery();
const email = query?.get("email");
const isReset = query?.get("isReset");
const [verifyingCode, setVerifyingCode] = useState(false);
const [input, setInput] = useState("");
const [error, setError] = useState<string | undefined>();
Expand Down Expand Up @@ -80,7 +81,14 @@ export function EnterConfirmationCodeScreen() {
<H2>Enter Confirmation Code</H2>
<Spacer h={24} />
Check your inbox for an email from <span>{ZUPASS_SENDER_EMAIL}</span>.
Use the most recent code you received to continue.
Use the most recent code you received to continue. If you don't see
the email in your inbox, make sure to check your spam folder.
<Spacer h={16} />
{isReset && (
<>
Once you reset your account, you'll lose access to all your PCDs!
</>
)}
</TextCenter>
<Spacer h={24} />
<CenterColumn>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,9 @@ export function AlreadyRegisteredScreen() {
} else {
window.location.href = `#/enter-confirmation-code?email=${encodeURIComponent(
email
)}&identityCommitment=${encodeURIComponent(identityCommitment)}`;
)}&identityCommitment=${encodeURIComponent(
identityCommitment
)}&isReset=true`;
}
},
[email, identityCommitment, verifyToken]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,8 @@ export function CreatePasswordScreen() {
<Spacer h={24} />
This password will be used to generate an encryption key that secures
your data. Save your password somewhere you'll be able to find later.
If you lose your password, you will have to reset your account, and
you'll lose access to your old Zupass Identity and all of your PCDs.
</TextCenter>
<Spacer h={24} />

Expand Down
27 changes: 2 additions & 25 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4857,7 +4857,7 @@
dependencies:
"@types/react" "*"

"@types/react@*", "@types/react@^18.0.22", "@types/react@^18.2.6":
"@types/react@*", "@types/react@18.0.22", "@types/[email protected]", "@types/react@^18.0.22", "@types/react@^18.2.6":
version "18.2.21"
resolved "https://registry.yarnpkg.com/@types/react/-/react-18.2.21.tgz#774c37fd01b522d0b91aed04811b58e4e0514ed9"
integrity sha512-neFKG/sBAwGxHgXiIxnbm3/AAVQ/cMRS93hvBpg8xYRbeQSPVABp9U2bRnPf0iI4+Ucdv3plSxKK+3CW2ENJxA==
Expand All @@ -4866,24 +4866,6 @@
"@types/scheduler" "*"
csstype "^3.0.2"

"@types/[email protected]":
version "18.0.22"
resolved "https://registry.yarnpkg.com/@types/react/-/react-18.0.22.tgz#97782d995d999617de116cf61f437f1351036fc7"
integrity sha512-4yWc5PyCkZN8ke8K9rQHkTXxHIWHxLzzW6RI1kXVoepkD3vULpKzC2sDtAMKn78h92BRYuzf+7b/ms7ajE6hFw==
dependencies:
"@types/prop-types" "*"
"@types/scheduler" "*"
csstype "^3.0.2"

"@types/[email protected]":
version "18.2.20"
resolved "https://registry.yarnpkg.com/@types/react/-/react-18.2.20.tgz#1605557a83df5c8a2cc4eeb743b3dfc0eb6aaeb2"
integrity sha512-WKNtmsLWJM/3D5mG4U84cysVY31ivmyw85dE84fOCk5Hx78wezB/XEjVPWl2JTZ5FkEeaTJf+VgUAUn3PE7Isw==
dependencies:
"@types/prop-types" "*"
"@types/scheduler" "*"
csstype "^3.0.2"

"@types/request@^2.48.8":
version "2.48.8"
resolved "https://registry.yarnpkg.com/@types/request/-/request-2.48.8.tgz#0b90fde3b655ab50976cb8c5ac00faca22f5a82c"
Expand Down Expand Up @@ -14790,12 +14772,7 @@ typedoc@^0.25.1:
minimatch "^9.0.3"
shiki "^0.14.1"

[email protected]:
version "5.1.6"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.1.6.tgz#02f8ac202b6dad2c0dd5e0913745b47a37998274"
integrity sha512-zaWCozRZ6DLEWAWFrVDz1H6FVXzUSfTy5FUMWsQlU8Ym5JP9eO4xkTIROFCQvhQf61z6O/G6ugw3SgAnvvm+HA==

typescript@^4.5.2, typescript@^4.9.5:
[email protected], typescript@^4.5.2, typescript@^4.9.5:
version "4.9.5"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.9.5.tgz#095979f9bcc0d09da324d58d03ce8f8374cbe65a"
integrity sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==
Expand Down

0 comments on commit c45351b

Please sign in to comment.