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

Logout form appears on click on Logout link #2479

Closed
SeverineB opened this issue Feb 22, 2023 · 1 comment
Closed

Logout form appears on click on Logout link #2479

SeverineB opened this issue Feb 22, 2023 · 1 comment

Comments

@SeverineB
Copy link

SeverineB commented Feb 22, 2023

Environment

  • Elixir version (elixir -v):
Erlang/OTP 25 [erts-13.1.3] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [jit:ns]

Elixir 1.14.3 (compiled with Erlang/OTP 25)
  • Phoenix version (mix deps):
phoenix 1.7.0-rc.3 (Hex package) (mix)
locked at 1.7.0-rc.3 (phoenix) ae651c30
  • Phoenix LiveView version (mix deps):
phoenix_live_view 0.18.15 (Hex package) (mix)
locked at 0.18.15 (phoenix_live_view) 888dd8ea
  • Operating system: Arch Linux - Endeavouros
  • Browsers you attempted to reproduce this bug on (the more the merrier): Firefox and Chrome
  • Does the problem persist after removing "assets/node_modules" and trying again? Yes/no: No assets/node_modules folder

Actual behavior

This issue is maybe related to the issue 2311
The logout form with an input "submit" (here in french, "Envoyer") appears at the bottom of the page after clicking on Logout link.
image

Expected behavior

The logout form would not appear.

@chrismccord
Copy link
Member

I can't recreate this. Did you customize the templates after you ran phx.gen.auth? The only way the logout text appears is if you're rendering it. If you can provide a minimal reproduction I would be able to take a closer look, but I don't believe this is an issue on our side. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants