Merge pull request #12084 from strapi/fix/safari-logout

Fix logout on Safari
This commit is contained in:
cyril lopez 2022-01-04 08:44:52 +01:00 committed by GitHub
commit f7226a94d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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',