mirror of
https://github.com/fairyglade/ly.git
synced 2026-11-07 10:41:43 +00:00
Improve authentication logging
Signed-off-by: AnErrupTion <anerruption@disroot.org>
This commit is contained in:
2 files changed
+38
-8
No files matched your search
+1
-1
@@ -989,7 +989,7 @@ pub fn main() !void {
|
||||
update = true;
|
||||
},
|
||||
termbox.TB_KEY_ENTER => authenticate: {
|
||||
try log_file.info("auth", "authenticating...", .{});
|
||||
try log_file.info("auth", "starting authentication", .{});
|
||||
|
||||
if (!config.allow_empty_password and password.text.items.len == 0) {
|
||||
// Let's not log this message for security reasons
|
||||
|
||||
Reference in new issue
Block a user