Jesus taught that divorce and remarriage is adultery when the Pharisees were fine keeping Moses' "pastoral" accommodation of issuing a bill of divorce intact. 

Jesus did not pretend that the man the woman at the well was with was her husband, in fact He told her that he wasn't. No sugarcoating from Jesus about her situation.