예제 #1
0
        private static void SetNextPasswordData(LoginModel logInRequest)
        {
            Password currentPassword = passwordService.GetPasswordOf(logInRequest.Account.Id);
            Password nextPassword    = passwordService.CreatePasswordData(logInRequest.Password);

            nextPassword.Id       = currentPassword.Id;
            nextPassword.ParentId = currentPassword.ParentId;
            passwordService.SaveOrUpdatePassword(nextPassword, true);
        }