stanriders / circleforms

For all your circle-clicking related questions
https://circleforms.net/
5 stars 2 forks source link

Refactor auth #202

Closed B0und closed 2 years ago

B0und commented 2 years ago

simplify useAuth hook. Hits api/me only once and then caches the result. (As a nice side effect, I dont have to press login button in e2e test, because using auth.json automatically makes you logged in, as it really should)

merge after add-tests