Instalar e Configurar o Midleware Auth
Opened this issue · 1 comments
marmundo commented
Instalar e Configurar o Midleware Auth
marmundo commented
npm i @adonisjs/auth
node ace configure @adonisjs/auth
❯ Select provider for finding users · lucid
❯ Select which guard you need for authentication (select using space) · web
❯ Enter model name to be used for authentication · User
❯ Create migration for the users table? (y/N) · true