password hashing: exposes argon2 options

So the hashing complexity can be changed depending on available
memory/CPU resources and business requirements
This commit is contained in:
Nicola Murino
2020-09-04 17:09:31 +02:00
parent afc411c51b
commit bdf18fa862
4 changed files with 43 additions and 2 deletions

View File

@@ -92,7 +92,14 @@
"post_login_hook": "",
"post_login_scope": 0,
"check_password_hook": "",
"check_password_scope": 0
"check_password_scope": 0,
"password_hashing": {
"argon2_options": {
"memory": 65536,
"iterations": 1,
"parallelism": 2
}
}
},
"httpd": {
"bind_port": 8080,