mirror of
https://github.com/kremalicious/umami.git
synced 2024-12-24 02:06:19 +01:00
Hide user button for cloud.
This commit is contained in:
parent
6ee27a7e53
commit
4f098a34c1
@ -46,7 +46,7 @@ export default function Header() {
|
||||
<div className={styles.buttons}>
|
||||
<ThemeButton />
|
||||
<LanguageButton menuAlign="right" />
|
||||
{user && <UserButton />}
|
||||
{user && !adminDisabled && <UserButton />}
|
||||
</div>
|
||||
</header>
|
||||
</>
|
||||
|
@ -13,7 +13,7 @@ export default function SingleSignOnPage() {
|
||||
|
||||
router.push(url);
|
||||
}
|
||||
}, [url, token]);
|
||||
}, [router, url, token]);
|
||||
|
||||
return null;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user