Closed conradwt closed 3 years ago
This means the route you are trying to access is not running the plugs generated by mix phx.gen.auth
. Make sure the plugs are in our pipeline and that the routes are invoking the relevant pipelines. Thanks.
@josevalim After creating a new Phoenix project with mix phx.gen.auth
, things work as expected. However, I was able to determine that the original project was missing fetch_current_user
plug after comparing it against the new project. Thus, this issue can be closed.
After following the instructions within the
README.md
, I'm seeing the following error message when navigating to the landing page:Note: I'm not sure where
@current_user
is being defined here.mix.exs (deps)