mirror of
https://github.com/hkalexling/Mango.git
synced 2025-08-02 19:05:32 -04:00
log intial login information regardless of log level
This commit is contained in:
parent
40c2fe00af
commit
4d6542cdc4
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user