You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enable optional built-in basic auth plug for restriction web application
Example:
# lib/my_app_web/router.exuseMyAppWeb,:routerimportPlug.BasicAuthimportPhoenix.LiveDashboard.Router...pipeline:admins_onlydoplug:basic_auth,username: "admin",password: "a very special secret"endscope"/"dopipe_through[:browser,:admins_only]live_dashboard"/dashboard"end
TODO:
Get Basic Auth from Environment Values
The text was updated successfully, but these errors were encountered:
Enable optional built-in basic auth plug for restriction web application
Example:
TODO:
The text was updated successfully, but these errors were encountered: