4 ms·
Many thanks for posting this! Only the other day I was evaluating Noir for a webapp and the lack of a capable user auth capability was the main blocker...
by alexatkeplar 14y ago
Many thanks for posting this! Only the other day I was evaluating Noir for a webapp and the lack of a capable user auth capability was the main blocker...
- dmix 14y agoIt's pretty easy to put together. Just encrypt the password and use noir.validation for the form fields. For example, heres a Noir app I wrote using bcrypt and Redis to store the data. User model: https://github.com/dmix/documeds/blob/master/src/documeds/models/user.clj https://github.com/dmix/documeds/blob/master/src/documeds/mo... (most of the model code is redis interface code) Login / Signup views: https://github.com/dmix/documeds/blob/master/src/documeds/views/users.clj https://github.com/dmix/documeds/blob/master/src/documeds/vi...