make token sensitive

This commit is contained in:
Pas 2025-02-17 21:35:41 -07:00
parent 6d65e75f6a
commit 96d64c74d9
2 changed files with 7 additions and 7 deletions

View file

@ -71,7 +71,7 @@ export function OptionalDropdown() {
1. Go to <MwLink to="https://febbox.com">
febbox.com
</MwLink>{" "}
and log in with Google
and log in with Google (use a fresh account!)
<br />
2. Open DevTools or inspect the page
<br />
@ -82,8 +82,8 @@ export function OptionalDropdown() {
5. Close the tab, but do NOT logout!
</Trans>
</p>
<p className="text-xs mt-2">
(This is not a sensitive login cookie or account token)
<p className="text-type-danger mt-2">
(Do not share this token!)
</p>
</div>
@ -97,6 +97,7 @@ export function OptionalDropdown() {
}}
value={febboxToken ?? ""}
placeholder="eyABCdE..."
passwordToggleable
/>
</>
) : null}

View file

@ -207,7 +207,7 @@ function FebboxTokenEdit({ febboxToken, setFebboxToken }: FebboxTokenProps) {
To get your UI token:
<br />
1. Go to <MwLink to="https://febbox.com">febbox.com</MwLink> and
log in with Google
log in with Google (use a fresh account!)
<br />
2. Open DevTools or inspect the page
<br />
@ -218,9 +218,7 @@ function FebboxTokenEdit({ febboxToken, setFebboxToken }: FebboxTokenProps) {
5. Close the tab, but do NOT logout!
</Trans>
</p>
<p className="text-xs mt-2">
(This is not a sensitive login cookie or account token)
</p>
<p className="text-type-danger mt-2">(Do not share this token!)</p>
</div>
<Divider marginClass="my-6 px-8 box-content -mx-8" />
@ -233,6 +231,7 @@ function FebboxTokenEdit({ febboxToken, setFebboxToken }: FebboxTokenProps) {
}}
value={febboxToken ?? ""}
placeholder="eyABCdE..."
passwordToggleable
/>
</>
) : null}