Member signups need approval even though signup settings = "Everyone"

Hello,

I’m using a custom coded membership form

My membership signup settings are “Everyone” (I’ve checked each form even though I know I don’t need to!)

But this code fails:

   wixUsers.register(email, password).then((result)=>{ 
        wixUsers.applySessionToken(result.sessionToken).then(() => { 
                // never gets here 

When I look in my notifications, the signup has requested approval

I think that’s the reason the code fails (I don’t have a session token yet because the system thinks signup=“People I approve”)

Thanks for any assistance :slight_smile:

Peter