mirror of
https://github.com/Leonmmcoset/CMLeonOS.git
synced 2026-04-21 19:24:00 +00:00
移植更新:桌面环境的Event Log移植功能
This commit is contained in:
@@ -63,7 +63,7 @@ namespace CMLeonOS.Gui.ShellComponents.Dock
|
||||
window.MoveAndResize((int)(wm.ScreenWidth / 2 - newDockWidth / 2), window.Y, newDockWidth, window.Height);
|
||||
}
|
||||
|
||||
window.Clear(Color.FromArgb(130, 202, 255));
|
||||
window.Clear(Color.FromArgb(211, 211, 211));
|
||||
|
||||
int x = 0;
|
||||
foreach (var icon in Icons)
|
||||
|
||||
@@ -116,8 +116,6 @@ namespace CMLeonOS.Gui.ShellComponents
|
||||
Logger.Logger.Instance.Info("Lock", $"User found: {foundUser.Username}, Admin: {foundUser.Admin}");
|
||||
|
||||
string hashedInputPassword = UserSystem.HashPasswordSha256(password);
|
||||
Logger.Logger.Instance.Info("Lock", $"Password hash: {hashedInputPassword}");
|
||||
Logger.Logger.Instance.Info("Lock", $"Stored password hash: {foundUser.Password}");
|
||||
|
||||
if (foundUser.Password != hashedInputPassword)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user