| @@ -12,24 +12,16 @@ const icons = { | |||||
| const misc = { | const misc = { | ||||
| id: 'misc', | id: 'misc', | ||||
| title: 'Miscellaneous', | |||||
| title: 'Security', | |||||
| type: 'group', | type: 'group', | ||||
| children: [ | children: [ | ||||
| { | { | ||||
| id: 'profile', | id: 'profile', | ||||
| title: 'Profile & 2FA', | |||||
| title: '2FA', | |||||
| type: 'item', | type: 'item', | ||||
| url: '/profile', | url: '/profile', | ||||
| icon: icons.ProfileOutlined, | icon: icons.ProfileOutlined, | ||||
| breadcrumbs: false | breadcrumbs: false | ||||
| }, | |||||
| { | |||||
| id: 'logout', | |||||
| title: 'Logout', | |||||
| type: 'item', | |||||
| url: '/logout', | |||||
| icon: icons.LoginOutlined, | |||||
| breadcrumbs: false | |||||
| } | } | ||||
| ] | ] | ||||
| }; | }; | ||||
| @@ -109,7 +109,7 @@ const Profile = () => { | |||||
| return ( | return ( | ||||
| <Box sx={{ maxWidth: 800, mx: 'auto', mt: 4, p: 2 }}> | <Box sx={{ maxWidth: 800, mx: 'auto', mt: 4, p: 2 }}> | ||||
| <Typography variant="h4" gutterBottom> | <Typography variant="h4" gutterBottom> | ||||
| Profile & Security | |||||
| 2FA | |||||
| </Typography> | </Typography> | ||||
| <Card sx={{ mt: 3 }}> | <Card sx={{ mt: 3 }}> | ||||