config: add options.salt_rounds

During development, the lower this value is (must be >= 4)
equals faster User generation. This is particularly useful
for running tests.

In production, a higher value (like 12 which is used by various
popular frameworks) should be used.

Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
Kevin Morris 2021-06-25 21:22:54 -07:00
parent a702f7bc0b
commit d8556b0d86
2 changed files with 3 additions and 0 deletions

View file

@ -26,6 +26,8 @@ aur_location = http://127.0.0.1:8080
disable_http_login = 0
enable-maintenance = 0
localedir = YOUR_AUR_ROOT/web/locale
; In production, salt_rounds should be higher; suggested: 12.
salt_rounds = 4
[notifications]
; For development/testing, use /usr/bin/sendmail