summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2020-04-15 13:02:47 +0200
committerYorhel <git@yorhel.nl>2020-04-15 13:02:47 +0200
commit7072d9c79f9d5b269f78c4571953ddfb6bdb6e1e (patch)
treed19b093d7375dc9500b64469d89de255d6c7c694 /util
parent34d60dcdee6658b193f8a5d754d584ede3c9bc53 (diff)
devdump.pl: Uh, yeah, true and false arent integers
Diffstat (limited to 'util')
-rwxr-xr-xutil/devdump.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/devdump.pl b/util/devdump.pl
index e9ff5314..af7bd776 100755
--- a/util/devdump.pl
+++ b/util/devdump.pl
@@ -109,7 +109,7 @@ sub copy_entry {
# A few pre-defined users
# This password is 'hunter2' with the default salt
my $pass = '000100000801ec4185fed438752d6b3b968e2b2cd045f70005cb7e10cafdbb694a82246bd34a065b6e977e0c3dcc';
- printf "INSERT INTO users (id, username, mail, perm_usermod, passwd, email_confirmed) VALUES (%d, '%s', '%s', %d, decode('%s', 'hex'), true);\n", @$_, $pass for(
+ printf "INSERT INTO users (id, username, mail, perm_usermod, passwd, email_confirmed) VALUES (%d, '%s', '%s', %s, decode('%s', 'hex'), true);\n", @$_, $pass for(
[ 2, 'admin', 'admin@vndb.org', 'true' ],
[ 3, 'user1', 'user1@vndb.org', 'false'],
[ 4, 'user2', 'user2@vndb.org', 'false'],