mirror of
https://github.com/p-stream/p-stream.git
synced 2026-04-21 07:02:21 +00:00
make token sensitive
This commit is contained in:
parent
6d65e75f6a
commit
96d64c74d9
2 changed files with 7 additions and 7 deletions
|
|
@ -71,7 +71,7 @@ export function OptionalDropdown() {
|
||||||
1. Go to <MwLink to="https://febbox.com">
|
1. Go to <MwLink to="https://febbox.com">
|
||||||
febbox.com
|
febbox.com
|
||||||
</MwLink>{" "}
|
</MwLink>{" "}
|
||||||
and log in with Google
|
and log in with Google (use a fresh account!)
|
||||||
<br />
|
<br />
|
||||||
2. Open DevTools or inspect the page
|
2. Open DevTools or inspect the page
|
||||||
<br />
|
<br />
|
||||||
|
|
@ -82,8 +82,8 @@ export function OptionalDropdown() {
|
||||||
5. Close the tab, but do NOT logout!
|
5. Close the tab, but do NOT logout!
|
||||||
</Trans>
|
</Trans>
|
||||||
</p>
|
</p>
|
||||||
<p className="text-xs mt-2">
|
<p className="text-type-danger mt-2">
|
||||||
(This is not a sensitive login cookie or account token)
|
(Do not share this token!)
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
@ -97,6 +97,7 @@ export function OptionalDropdown() {
|
||||||
}}
|
}}
|
||||||
value={febboxToken ?? ""}
|
value={febboxToken ?? ""}
|
||||||
placeholder="eyABCdE..."
|
placeholder="eyABCdE..."
|
||||||
|
passwordToggleable
|
||||||
/>
|
/>
|
||||||
</>
|
</>
|
||||||
) : null}
|
) : null}
|
||||||
|
|
|
||||||
|
|
@ -207,7 +207,7 @@ function FebboxTokenEdit({ febboxToken, setFebboxToken }: FebboxTokenProps) {
|
||||||
To get your UI token:
|
To get your UI token:
|
||||||
<br />
|
<br />
|
||||||
1. Go to <MwLink to="https://febbox.com">febbox.com</MwLink> and
|
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 />
|
<br />
|
||||||
2. Open DevTools or inspect the page
|
2. Open DevTools or inspect the page
|
||||||
<br />
|
<br />
|
||||||
|
|
@ -218,9 +218,7 @@ function FebboxTokenEdit({ febboxToken, setFebboxToken }: FebboxTokenProps) {
|
||||||
5. Close the tab, but do NOT logout!
|
5. Close the tab, but do NOT logout!
|
||||||
</Trans>
|
</Trans>
|
||||||
</p>
|
</p>
|
||||||
<p className="text-xs mt-2">
|
<p className="text-type-danger mt-2">(Do not share this token!)</p>
|
||||||
(This is not a sensitive login cookie or account token)
|
|
||||||
</p>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<Divider marginClass="my-6 px-8 box-content -mx-8" />
|
<Divider marginClass="my-6 px-8 box-content -mx-8" />
|
||||||
|
|
@ -233,6 +231,7 @@ function FebboxTokenEdit({ febboxToken, setFebboxToken }: FebboxTokenProps) {
|
||||||
}}
|
}}
|
||||||
value={febboxToken ?? ""}
|
value={febboxToken ?? ""}
|
||||||
placeholder="eyABCdE..."
|
placeholder="eyABCdE..."
|
||||||
|
passwordToggleable
|
||||||
/>
|
/>
|
||||||
</>
|
</>
|
||||||
) : null}
|
) : null}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue