Ejemplo n.º 1
0
        public bool ForceChangePassword(long userLoginId, string password, bool forceChangePassword, long orgRoleUserId, bool updatePasswordLog)
        {
            var securehash = _userLoginRepository.ForceChangePassword(userLoginId, password, forceChangePassword);

            if (securehash != null && updatePasswordLog)
            {
                _passwordChangelogService.Update(userLoginId, securehash, orgRoleUserId);
            }
            return(securehash != null);
        }