adonisjs / auth

Official Authentication package for AdonisJS
https://docs.adonisjs.com/guides/auth/introduction
MIT License
191 stars 65 forks source link

Auth views scaffold #164

Closed rickavmaniac closed 3 years ago

rickavmaniac commented 3 years ago

I just use the @adonisjs/auth module for the first time. Everything is great but is there a reason why adonis do not scaffold a default route, controller and views to support the web auth? In Rails and in Laravel we do have this kind of helper. It is good and essential for fast prototyping and also very good for newbie to learn the pattern.

It is something that they don't want at all or it is just a matter to taking the time someday to do it? If it is the latter maybe I can do a PR and contribute

thetutlage commented 3 years ago

Yes. This is an intentional decision. We do not ship with views, controllers or routes from the official packages. This is its own upsides and downsides at the same time.

Also, this opens up the possibility for the ecosystem to create more opinionated packages

rickavmaniac commented 3 years ago

Ok thanks for taking time to explained your position.