Programming Phoenix LiveView B7: Access Session Data in The Live View P58

After adding the code for on_mount/4 in UserAuthLive and then trying it out, I found that logging out fails due to /login not existing. Instead I found that /users/log_in works there.

You are correct! Will fix in the next beta release.

Also happened upon the same issue in the code snippet on pages 165 and 166 where there’s a review of the code above.

Thanks, will fix.