JoshuaBuditama / slowvid

0 stars 2 forks source link

Issues/64 provide consent #86

Closed JakeBrown closed 3 years ago

JakeBrown commented 3 years ago

Closes issue #64. Some changes were required to the session management, in particular the existing code was clearing localStorage on every page refresh. That actually defeats the purpose of using localStorage and useState could be used instead which might simplify things. But that's out of scope for this issue.

In any case, I've updated it to just clear the token data and included a button in the nav to clear all localStorage data.

JakeBrown commented 3 years ago

Screenshot of consent form:

Screen Shot 2020-10-29 at 1 16 54 pm