You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
Thanks for your answer !
I don't know if it's the good way to create a new issue 😅
I tried to install a new app test, the setup is the same than the one described above.
I let the repo in public so you can access if needed. gitlab repo
I dockerize the app but it does not matter for the logout problem.
I generate the authentication with mix phx.gen.auth Accounts User users and choose the Liveview one, then i had to edit the user_login_live.ex and user_registration_live.ex because the key name of the component input could not be created
so instead of <.input field={@form[:email]} type="email" label="Email" required />
i changed the field as below <.input field={{ @form, :email }} type="email" label="Email" required />
And then i tried to login / logout (I have set a network limit in Firefox to have time to do the screenshot) and the logout text appears as below :
I don't know if it's related to my setup or my install 😐
I also noticed that the flash message "Attempting to reconnect" appears each time i reload the login or register page (I read the issue about it and check in deps/phoenix_live_view/assets/js/phoenix_live_view/live_socket.js but it's ok
then i had to edit the user_login_live.ex and user_registration_live.ex because the key name of the component input could not be created
If this happens is because you are generating an app with Phoenix 1.7.0-rc2 instead of the latest release candidate. Could you try the latest release candidate too? You can run this before:
Originally posted by @chrismccord in #2479 (comment)
Thanks for your answer !
I don't know if it's the good way to create a new issue 😅
I tried to install a new app test, the setup is the same than the one described above.
I let the repo in public so you can access if needed.
gitlab repo
I dockerize the app but it does not matter for the logout problem.
I generate the authentication with
mix phx.gen.auth Accounts User users
and choose the Liveview one, then i had to edit theuser_login_live.ex
anduser_registration_live.ex
because the keyname
of the componentinput
could not be createdso instead of
<.input field={@form[:email]} type="email" label="Email" required />
i changed the field as below
<.input field={{ @form, :email }} type="email" label="Email" required />
And then i tried to login / logout (I have set a network limit in Firefox to have time to do the screenshot) and the logout text appears as below :
I don't know if it's related to my setup or my install 😐
I also noticed that the flash message "Attempting to reconnect" appears each time i reload the login or register page (I read the issue about it and check in
deps/phoenix_live_view/assets/js/phoenix_live_view/live_socket.js
but it's okThe text was updated successfully, but these errors were encountered: