完成首页按登录账号加载

This commit is contained in:
yubaolee
2015-12-01 22:25:36 +08:00
parent 2f52d6f652
commit 88c6fb144f
6 changed files with 18 additions and 36 deletions

View File

@@ -107,6 +107,7 @@ namespace OpenAuth.App
if (user.Id == 0)
{
user.CreateTime = DateTime.Now;
user.Password = user.Account; //初始密码与账号相同
_repository.Add(user);
}
else