This happened with my brother and his girlfriend 20 years ago. She's his wife now, but they were shacked up and were not only denied membership but were humiliated when they were brought before the church in a supposed vote, then shamed before the whole congregation.
That is just wrong! That should never even come up before the church... The pastor and the deacons if required should have handled this in private... Surely not brought up before the congregation and humiliated them in a supposed vote... Who would even want to join a church after that?... I know that in my church in a private meeting the pastor would have admonished them in compassion and kindness. Telling them that at this time we cannot accept you as members because of your living arrangement. You are still welcome to come and worship with us and when your situation changes you are free to join us... IMHO!... That is how it should have been handled... We all walk with feet of clay!... Brother Glen