修复状态问题、用户中心页面查询及修改
This commit is contained in:
@@ -41,6 +41,7 @@ namespace Yi.Framework.Model.Models
|
||||
/// <returns></returns>
|
||||
public bool JudgePassword(string password)
|
||||
{
|
||||
var p = MD5Helper.SHA2Encode(password, this.Salt);
|
||||
if (this.Password == MD5Helper.SHA2Encode(password, this.Salt))
|
||||
{
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user