2 ms·
It'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
by dmix 14y ago
It'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...