Hash passwords when creating accounts
TL;DR:
- introduce the Cryptonite library
- Remove the redundant language extensions, imports, deps from Persistent
- Prefer NoContent return type for POST /accounts
- Define custom {To,From}JSON instances for Role
This commit is contained in:
parent
bb36dd1f9e
commit
b170be9375
4 changed files with 76 additions and 52 deletions
|
|
@ -8,9 +8,7 @@ in pkgs.mkShell {
|
|||
hpkgs.resource-pool
|
||||
hpkgs.sqlite-simple
|
||||
hpkgs.warp
|
||||
hpkgs.persistent
|
||||
hpkgs.persistent-sqlite
|
||||
hpkgs.persistent-template
|
||||
hpkgs.cryptonite
|
||||
]))
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue