Programming Phoenix LiveView: B6.0 pg 56 - current-user not set

You are correct! Check out the corrected code here Programming Phoenix LiveView: Session Data B6.0 (p. 56)