log intial login information regardless of log level

This commit is contained in:
Alex Ling 2020-02-19 02:50:48 +00:00
parent 40c2fe00af
commit 4d6542cdc4

View File

@ -40,7 +40,7 @@ class Storage
hash = hash_password random_pw
db.exec "insert into users values (?, ?, ?, ?)",
"admin", hash, nil, 1
@logger.info "Initial user created. You can log in with " \
puts "Initial user created. You can log in with " \
"#{{"username" => "admin", "password" => random_pw}}"
end
end