AjobK / Seaqull

Seaqull programming blog
http://www.seaqull.com
3 stars 0 forks source link

[303] New Post Route Guard #303

Closed AjobK closed 2 years ago

AjobK commented 3 years ago

Current state Guests that are not logged in are able to access the 'new-post' page.

image

Also, when user refreshes new-post page they don't see any of their data. Very likely due to mobx not updating the profile store? The author data does update however when you click on an input field. Likely an issue with rendering.

Expected state Guests are not able to access the localhost:8080/new-post page and will be redirected to the login page.

Even when user refreshes the new-post page it contains their profile data.

TO DO

Necessities None

Branch 303-new-post-route-guard