Giter Club home page Giter Club logo

Comments (4)

girardinsamuel avatar girardinsamuel commented on May 21, 2024

Not sure why you would need a table to do password resets 🤔 ?
I guess we should stay "frontend agnostic" for the different views ? Or should we at least use Tailwind CSS ?

from masonite4.

josephmancuso avatar josephmancuso commented on May 21, 2024

Not sure why you would need a table to do password resets

Sort of following in the foot steps of how Laravel does it. I suppose we don't really need one as we can still do it now. But I feel like it might be better to have a dedicated password resets to store the tokens. We could also better control the expirations of the token. Like password resets only valid for 24 hours or something.

from masonite4.

josephmancuso avatar josephmancuso commented on May 21, 2024

I guess we should stay "frontend agnostic" for the different views ? Or should we at least use Tailwind CSS

Its a good question. I don't like being TOO opinionated on something like that. We could take a similar approach of what we did with M3 and make different presets like jinja2 (default), bootstrap, tailwind. And then have something like:

python craft auth --preset tailwind

idk if I really want to maintaining all of these upgrades though between major releases ... idk. open for discussion lol. Have to balance what would be really cool as a framework and what we want to maintain, especially going forward into M4

from masonite4.

girardinsamuel avatar girardinsamuel commented on May 21, 2024

I don't like being TOO opinionated on something like that
I agree ! I guess using the same approach would be ideal but then we would have to maintain the presets and also the auth presets and those are not really easy to maintain because there have some dependencies which are never up to date...

Maybe as Tailwind CSS seems to be used more and more and it's not a frontend framework this could be the one we will maintain for the auth scaffolding ?

For something more opiniated and complex, Laravel did Jetstream with different preset (Livewire and Inertia) but for CSS I guess they are using TailwindCSS.

from masonite4.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.