summaryrefslogtreecommitdiff
path: root/lib/VN3
diff options
context:
space:
mode:
Diffstat (limited to 'lib/VN3')
-rw-r--r--lib/VN3/Auth.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/VN3/Auth.pm b/lib/VN3/Auth.pm
index a5282666..82b080ed 100644
--- a/lib/VN3/Auth.pm
+++ b/lib/VN3/Auth.pm
@@ -171,9 +171,9 @@ sub _load_session {
sub new {
bless {
- scrypt_salt => 'random string',
- scrypt_args => [ 65536, 8, 1 ],
- %{ tuwf->conf->{auth}||{} }
+ scrypt_salt => tuwf->conf->{scrypt_salt}||die(),
+ scrypt_args => tuwf->conf->{scrypt_args}||[ 65536, 8, 1 ],
+ csrf_key => tuwf->conf->{form_salt}||die(),
}, shift;
}