mirror of
https://github.com/strapi/strapi.git
synced 2025-11-10 23:29:33 +00:00
Merge pull request #12084 from strapi/fix/safari-logout
Fix logout on Safari
This commit is contained in:
commit
f7226a94d4
@ -149,7 +149,7 @@ const LeftMenu = ({ generalSectionLinks, pluginsSectionLinks }) => {
|
||||
>
|
||||
<FocusTrap onEscape={handleToggleUserLinks}>
|
||||
<Stack size={0}>
|
||||
<LinkUser onClick={handleToggleUserLinks} to="/me">
|
||||
<LinkUser tabIndex={0} onClick={handleToggleUserLinks} to="/me">
|
||||
<Typography>
|
||||
{formatMessage({
|
||||
id: 'app.components.LeftMenu.profile',
|
||||
@ -157,7 +157,7 @@ const LeftMenu = ({ generalSectionLinks, pluginsSectionLinks }) => {
|
||||
})}
|
||||
</Typography>
|
||||
</LinkUser>
|
||||
<LinkUser onClick={handleLogout} logout="logout" to="/auth/login">
|
||||
<LinkUser tabIndex={0} onClick={handleLogout} logout="logout" to="/auth/login">
|
||||
<Typography textColor="danger600">
|
||||
{formatMessage({
|
||||
id: 'app.components.LeftMenu.logout',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user