I have a simple block that displays the login and register links for anonymous users and the username with a logout link for logged in users. When I click on login, the modal form works great. However, when the modal closes, the page is not refreshed so it is difficult to tell if the user actually logged in or not. What I would like to do is have the page refresh upon successful login, or even better just the one block so it will show "Welcome, User (logout)" instead of the Login / Register links after the modal closes.

Anyone have any ideas how this can be achieved?


bancarddata’s picture

Status:Active» Closed (works as designed)

Strange it seems to be refreshing the page now. Not sure why it wasn't before.

aalireza’s picture

Version:7.x-1.0» 7.x-1.x-dev

i am using 7.x-1.x-dev version and have same problem,
reload not working after login.

GlennVl’s picture

Issue summary:View changes

I have the same problem, any solutions for this already?

JieXiannn’s picture

I have this problem too. It works fine locally but not when I've uploaded it to my hosting service