mogo-chat icon indicating copy to clipboard operation
mogo-chat copied to clipboard

Clicking on "Users" goes to "/#/login"

Open sathyamvellal opened this issue 11 years ago • 3 comments

I deployed a clone of mogo-chat onto heroku exactly per the README. When I add some users and later, go to another page and come back to the user page, it redirects me to /#/login even though I am logged in.

sathyamvellal avatar Mar 27 '14 11:03 sathyamvellal

Could you please post the exact steps to reproduce the problem? This may be a bug, but I would like to know how to reproduce it in order to fix it.

Thanks for reporting.

HashNuke avatar Mar 27 '14 11:03 HashNuke

Sure! I missed some information in the previous post. This happens while removing users I guess.

Anyway, you can reproduce the bug this way -

  1. Login as admin
  2. Create few users
  3. Now remove a few users
  4. Go to Rooms
  5. Come back to Users. You should now be redirected to /#/login

You can however come back to the home page by entering the heroku url. Now on clicking logout it displays a blank page, doesn't logout.

sathyamvellal avatar Mar 27 '14 14:03 sathyamvellal

@sathyamvellal Thank you for the details. I'll look into this first thing in the morning.

I changed the user removal stuff in the last minute. (from removing users directly to just archiving users, so that the old messages they posted are in context). Must have done something wrong.

HashNuke avatar Mar 27 '14 15:03 HashNuke