From 4d6542cdc4e998eebed045c2d0b849e56318203b Mon Sep 17 00:00:00 2001 From: Alex Ling Date: Wed, 19 Feb 2020 02:50:48 +0000 Subject: [PATCH] log intial login information regardless of log level --- src/storage.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/storage.cr b/src/storage.cr index 19e6c72..7e57199 100644 --- a/src/storage.cr +++ b/src/storage.cr @@ -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