CAYdenberg / monocle

Search and Serve Open Access articles from PMC and render with Lens.
http://www.ncbi.site/
0 stars 0 forks source link

Add sign-in/sign-up buttons to homepage #8

Closed CAYdenberg closed 7 years ago

CAYdenberg commented 8 years ago

Need a way to handle landing for users who are already signed in.

Plan: redirect to profile page. Sign in/sign up forms will exist on homepage, need to trigger a refresh after submission (in order to bring up profile).

Would also be useful to store recent searches, so user can be restored to whatever they were last doing.

Lastly, pass current user email to front end through CDATA, not data-attribute on .account-area since this doesn't exist on all pages