ReactSSRCasts icon indicating copy to clipboard operation
ReactSSRCasts copied to clipboard

Unauthenticated redirect status changed to 302

Open dsoucie opened this issue 7 years ago • 1 comments

Hi Stephen,

When I navigated to '/admins' unauthed, the 301 "Moved Permanently" status code was cached by my browser (Chrome). When visiting the route, even after logging in, it would still take me to the cached redirect of '/'. I updated the status to 302, I think this should prevent this.

dsoucie avatar Oct 19 '17 02:10 dsoucie

Code looks good. One request, can you add in a comment above this change linking back to the thread you posted on Udemy about this?

StephenGrider avatar Oct 22 '17 14:10 StephenGrider