elm-spa-example icon indicating copy to clipboard operation
elm-spa-example copied to clipboard

Redirect to Home when navigating to Login page and user is logged in

Open martinbryant opened this issue 6 years ago • 1 comments

#63

Solved the above by creating a check on the Login page to see if the user is logged in. if they are then

  • init will send the GotSession msg to which in turn redirects to Home after 3 seconds
  • view will now show that you are logged in and give a message that you are being redirected(probably could be formatted a lot better ;)

martinbryant avatar Feb 13 '19 18:02 martinbryant

#58 is also fixed

martinbryant avatar Feb 13 '19 19:02 martinbryant