fribyte-code / friByte.capture-the-flag

friBytes own Capture The Flag platform 🚩
MIT License
0 stars 0 forks source link

Frontend: Automatically redirect to /login if any request lead to 401 status code #13

Open mathiash98 opened 1 year ago

mathiash98 commented 1 year ago

Currently the frontend does not automatically check if it logged in.

Would also be nice to add a /me endpoint in the backend that returns teamName, as it is not possible to read cookies (?)