Current_user not found error after running phx.gen.auth

Maybe you modified the browser pipeline in the router in a way the generator was confused? I’m not sure how that works exactly, but should be easy to find in the phoenix sources. I’d expect a warning when the generator cannot inject the plug (the generators also warn when a file it wants to generate already exists). Good luck with the app!