blockByEmail( )


Blocks a member from logging in to the site.

The blockByEmail() function returns a Promise that resolves when the specified member is blocked.

To unblock the member and allow them to log in to the site, use approveByEmail().

Method Declaration
Copy
Method Parameters
emailstringRequired

Login email address of the member to block.

Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?