mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-06 23:27:14 +00:00
added minor text updates
This commit is contained in:
+2
-2
@@ -164,7 +164,7 @@ export const MinimizedOrgSidebar = () => {
|
|||||||
const handleCopyToken = async () => {
|
const handleCopyToken = async () => {
|
||||||
try {
|
try {
|
||||||
await window.navigator.clipboard.writeText(getAuthToken());
|
await window.navigator.clipboard.writeText(getAuthToken());
|
||||||
createNotification({ type: "success", text: "Copied user organization token to clipboard" });
|
createNotification({ type: "success", text: "Copied current login session token to clipboard" });
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.log(error);
|
console.log(error);
|
||||||
createNotification({ type: "error", text: "Failed to copy user token to clipboard" });
|
createNotification({ type: "error", text: "Failed to copy user token to clipboard" });
|
||||||
@@ -610,7 +610,7 @@ export const MinimizedOrgSidebar = () => {
|
|||||||
<DropdownMenuItem onClick={handleCopyToken}>
|
<DropdownMenuItem onClick={handleCopyToken}>
|
||||||
Copy Token
|
Copy Token
|
||||||
<Tooltip
|
<Tooltip
|
||||||
content="This token is scoped to your organization and can only access resources within it."
|
content="This token is linked to your current login session and can only access resources within the organization you're currently logged into."
|
||||||
className="max-w-3xl"
|
className="max-w-3xl"
|
||||||
>
|
>
|
||||||
<FontAwesomeIcon icon={faInfoCircle} className="mb-[0.06rem] pl-1.5 text-xs" />
|
<FontAwesomeIcon icon={faInfoCircle} className="mb-[0.06rem] pl-1.5 text-xs" />
|
||||||
|
|||||||
Reference in New Issue
Block a user