open-tacos icon indicating copy to clipboard operation
open-tacos copied to clipboard

Infinite redirect loop when clicking edit and not logging in

Open brleinad opened this issue 2 years ago • 3 comments

Steps to Reproduce

  1. log out
  2. Go to an area like squamish
  3. Click on the edit toggle and then go back
  4. You'll enter an infinite redirect loop were you can't view the page because you need to log in.

Screenshots

Expected Behavior

I would expect the edit toggle to just go back to "off" if I'm not logged in.

Current Behavior

I get thrown back to the login page

Browser & version

<--- Example: Firefox 102.7.0esr --> Firefox 113.0.2 (64-bit

Operating system

<--- Example: MacOS 13.2.1 --> MacOS 13.0.1

brleinad avatar Jun 02 '23 21:06 brleinad

Hi @brleinad, is this your first time logging in? If so new user signup is temporarily disabled (more info https://github.com/OpenBeta/open-tacos/issues/830)

vnugent avatar Jun 02 '23 23:06 vnugent

@vnugent I haven't logged in. As an unauthenticated user I see the edit toggle.

brleinad avatar Jun 04 '23 23:06 brleinad

I can confirm that it appears to impossible to leave edit mode while not logged in. All area and climb pages opened in the same tab redirect to the log in page. A new tab is fine.

musoke avatar Jun 05 '23 15:06 musoke