Pass flash from controller to liveview

Hello everyone,

I recently changed the index page of a project to a liveview page. But authentication is done with a usual session controller.

On successful login, I used to pass a flash message, but now I would like to pass a live_flash message instead.

As a workaround, I moved the flash display from app.html to root.html, but wanted to know if there is a cleaner way.

Thanks for taking time.