uprtcl / js-uprtcl

Libraries, tools and modules to create _Prtcl web apps
http://www.uprtcl.io/
Other
43 stars 13 forks source link

Login from page #262

Open pepoospina opened 3 years ago

pepoospina commented 3 years ago

If a user is not logged in and is seeing a public perspective, then he can login from that page, and after having logged, should be redirected to that page.

Use localStorage to save the current path (doc/:id) and then when on the root path, if the value is there, delete it and redirect to it.