Пример #1
0
        public void ChangePassword(ChangePasswordRequest request)
        {
            try
            {
                _loginHandler.HandleProlongSession(request.TicketId);

                var user = _loginQueryDao.GetUser(request.TicketId);

                _commands.ChangePassword(user.Id, request.NewPassword, request.OldPassword);
            }
            catch (Exception e)
            {
                throw new FaultException(new FaultReason("Error during password changing") + e.Message + e.InnerException + e.StackTrace + e.Data);
            }
        }