setting, session and profile

This commit is contained in:
debu-2 2026-10-07 03:19:23 +05:30
parent 4a563f4f34
commit 7d3b6d4e31
3 changed files with 5 additions and 15 deletions

View file

@ -119,8 +119,8 @@ export default function CompanySecurity() {
<h2>Session timeout</h2>
<div className="security-setting-row">
<div>
<strong>Automatically sign out inactive users</strong>
<p>Users are signed out after a period of inactivity.</p>
<strong>Maximum session length</strong>
<p>Organization members cannot stay signed in longer than this, even if they choose a longer personal setting.</p>
</div>
<select
className="security-timeout-select"

View file

@ -500,7 +500,7 @@ export default function DashboardPage() {
</aside>
<main className="dashboard-content">
{companyActive && !["Overview", "Domains", "People", "Groups", "Aliases", "Security", "Administrators"].includes(companyActive) && (
{companyActive && !["Overview", "Domains", "People", "Groups", "Aliases", "Security", "Administrators", "Settings"].includes(companyActive) && (
<div className="dashboard-content-heading">
<div><p>{workspaceTitle}</p><h1>{companyActive}</h1></div>
<span className="dashboard-account-pill">{workspaceLabel}</span>
@ -599,14 +599,14 @@ export default function DashboardPage() {
{companyActive === "Administrators" && isDomainOwner && (
<CompanyAdministrators account={account} />
)}
{companyActive && !["Overview", "Domains", "People", "Groups", "Aliases", "Security", "Administrators"].includes(companyActive) && (
{companyActive && !["Overview", "Domains", "People", "Groups", "Aliases", "Security", "Administrators", "Settings"].includes(companyActive) && (
<section className="dashboard-empty dashboard-company-view">
<span><Sparkles size={24} /></span>
<h2>{companyActive}</h2>
<p>Company {companyActive.toLowerCase()} controls will appear here.</p>
</section>
)}
{!companyActive && active === "Settings" && (
{(active === "Settings" || companyActive === "Settings") && (
<AccountSettings />
)}
{!companyActive && !["Inbox", "Outbox", "Trash", "Settings"].includes(active) && (