Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User panel displays a misleading "Logout" invite when user is not logged in. #7839

Closed
antoinefricker opened this issue Jun 16, 2022 · 0 comments · Fixed by #7842
Closed

User panel displays a misleading "Logout" invite when user is not logged in. #7839

antoinefricker opened this issue Jun 16, 2022 · 0 comments · Fixed by #7842

Comments

@antoinefricker
Copy link
Contributor

What you were expecting:
User panel should display a "Login" invite when user is not logged in.

What happened instead:
User panel displays a misleading "Logout" invite when user is not logged in.

Steps to reproduce:

(https://codesandbox.io/s/stupefied-volhard-zeedw3)

Capture d’écran 2022-06-16 à 05 49 40

  • Ensure to be logged out
  • If necessary logout then use history to go back to home (posts list opened with disableAuthentication)

Environment

  • React-admin version: 4.1.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant