Rocket.Chat icon indicating copy to clipboard operation
Rocket.Chat copied to clipboard

livechat on login page jumps to home page

Open mrplow opened this issue 10 years ago • 7 comments

Your Rocket.Chat version: 0.22.0 latest dev

I'm having an issue if I use the generated livechat script in the layout - custom script logged out users.

The chat works but when the guest sends the first message the page jumps to /home. The login form is then no longer available.

My goal is to require manual approval and the livechat would be a good way to get moderators attention.

mrplow avatar Mar 19 '16 05:03 mrplow

just to be sure, are you inserting the livechat code at the login page of your own instance? are you doing this via administration > layout > login?

sampaiodiego avatar Mar 20 '16 00:03 sampaiodiego

Inserting it in my own docker-compose instance via administration - layout - custom script - logged out users

mrplow avatar Mar 20 '16 02:03 mrplow

I stripped off the <script> tags at the start and end of the code as well

mrplow avatar Mar 20 '16 02:03 mrplow

Maybe we could have a setting to add the Livechat to the login page?

engelgabriel avatar Mar 21 '16 20:03 engelgabriel

@sampaiodiego can this issue be closed?

MartinSchoeler avatar Mar 24 '17 14:03 MartinSchoeler

no @MartinSchoeler

sampaiodiego avatar Mar 24 '17 16:03 sampaiodiego

Hi, I’m Naveen. I attended the Rocket.Chat community workshop and would like to work on this issue as my first contribution.

Could I be assigned to it?

Rohit544 avatar Mar 16 '26 10:03 Rohit544