amilner42 / code-tidbit

Share Programming Knowledge Better
GNU General Public License v3.0
9 stars 1 forks source link

Login screen as middle step #213

Closed amilner42 closed 7 years ago

amilner42 commented 7 years ago

Assuming someone clicks a button and it redirects them to the login screen, once they've logged-in/signed-up we want to redirect them back to the page they were on. To do this, we can just have a query param on login screen to allow a "redirectToURL" for a successful login/register.