mirror of
https://github.com/Leonmmcoset/CMLeonOS.git
synced 2026-04-21 19:24:00 +00:00
移植更新:桌面环境的Event Log移植功能
This commit is contained in:
@@ -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