Hey Tal,
Thanks, I fixed the function so it’s right now, but the location is still the issue, or unless there’s something I’m not adding.
I’m trying to {wixLocation.to(“/createaccount”);} a user who “signs up” using the prompt and gets directed to my /createaccount page, but if they already have an approved account and they log in, it directs them to their /MemberProfile page.
Right now I have it all the way at the top when it loads the prompt, but it’s not ideal.