Programming Phoenix LiveView: B7.0 pdf page 209 - admin users and auth

I think that at least having and example of how to properly create a custom Plug would be really helpful, as the migrations, etc are already clear, but the plug itself isn’t shown anywhere else.

Thanks.