Skip to content

Commit

Permalink
chore(ui): update text for users created through SSO
Browse files Browse the repository at this point in the history
  • Loading branch information
liangfung committed Jan 21, 2025
1 parent a996e62 commit 31ef0f1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ const ChangeNameForm: React.FC<ChangeNameFormProps> = ({
/>
</TooltipTrigger>
<TooltipContent hidden={!isSsoUser} align="end" side="top">
Name cannot be changed for SSO users
The name cannot be altered for users created through SSO
</TooltipContent>
</Tooltip>
</FormControl>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -334,10 +334,14 @@ function OperationView({
<TooltipContent
side="left"
sideOffset={8}
align="center"
align="start"
hidden={!user.node.isSsoUser}
className="max-w-xs"
>
<p>Cannot request password reset for SSO users</p>
<p>
The password reset feature cannot be used for users created
through SSO
</p>
</TooltipContent>
</Tooltip>
</DropdownMenuContent>
Expand Down

0 comments on commit 31ef0f1

Please sign in to comment.