coronastatus icon indicating copy to clipboard operation
coronastatus copied to clipboard

If we clear the database you get a redirect error

Open adriaandotcom opened this issue 4 years ago • 5 comments

Not sure if we should fix this, but can image that a record in the future will not be found and it will result in a non working website.

telegram-cloud-photo-size-4-6041722683193930583-y

adriaandotcom avatar Mar 24 '20 18:03 adriaandotcom

I think this also occurs when the DBs of new instances are wiped right before launch.

fossecode avatar Mar 26 '20 23:03 fossecode

Yeah, maybe we should add a redirect count or something and if that hits more than 2 or something we should clear the cookie.

adriaandotcom avatar Mar 27 '20 19:03 adriaandotcom

Just hit this problem as well. Do you know where the loop happens?

michaelmcmillan avatar Mar 28 '20 15:03 michaelmcmillan

Could also be solved by not redirecting and instead showing a "Invalid pass code" message.

michaelmcmillan avatar Mar 28 '20 15:03 michaelmcmillan

Yes, better to show invalid passcode

adriaandotcom avatar Mar 28 '20 16:03 adriaandotcom