HackYourFuture-CPH / FP-class11

Class11 Final Project - A collaboration between HYF and Seasony
MIT License
5 stars 8 forks source link

Add default user sign-in; protect routes; update token documentation #179

Closed kfazinic closed 4 years ago

kfazinic commented 4 years ago

Solves #158

Regarding the 2nd task in the issue (Set an "escape hatch" so you can set a default user on development environments that is always signed in), .env needs to be updated with 👇

# To automatically sign in with a default user in development mode (npm run dev)
DEFAULT_USER=useremail@domain.com
DEFAULT_PASSWORD=password
dpfernandes commented 4 years ago

Approved