Removed sso login banner
This commit is contained in:
1 parent
29b790a8e2
commit
9ecfdcc42a
2 files changed
+9
-8
No files matched your search
@@ -104,13 +104,6 @@ const PasswordPanel = () => {
|
|||||||
noValidate
|
noValidate
|
||||||
spellCheck="false"
|
spellCheck="false"
|
||||||
>
|
>
|
||||||
<div className="edit-password-form__wrapper">
|
|
||||||
<Alert
|
|
||||||
variant="info"
|
|
||||||
title="SSO login"
|
|
||||||
body="Since you logged in via SSO, you cannot reset or modify your password."
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
<div className="edit-password-form__wrapper">
|
<div className="edit-password-form__wrapper">
|
||||||
<Stack>
|
<Stack>
|
||||||
<Typography component="h1">Current password</Typography>
|
<Typography component="h1">Current password</Typography>
|
||||||
|
|||||||
@@ -29,7 +29,15 @@ const Account = ({ open = "profile" }) => {
|
|||||||
if (!user.role.includes("admin")) tabList = ["Profile", "Password"];
|
if (!user.role.includes("admin")) tabList = ["Profile", "Password"];
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Box className="account" pt={theme.gap.xl}>
|
<Box
|
||||||
|
className="account"
|
||||||
|
px={theme.gap.xl}
|
||||||
|
py={theme.gap.large}
|
||||||
|
border={1}
|
||||||
|
borderColor={theme.palette.otherColors.graishWhite}
|
||||||
|
borderRadius={`${theme.shape.borderRadius}px`}
|
||||||
|
backgroundColor={theme.palette.otherColors.white}
|
||||||
|
>
|
||||||
<TabContext value={tab}>
|
<TabContext value={tab}>
|
||||||
<Box
|
<Box
|
||||||
sx={{
|
sx={{
|
||||||
|
|||||||
Reference in new issue
Block a user