blockByEmail( )
Blocks a member from logging in to the site.
The blockByEmail()
function returns a Promise that resolves
when the specified member is blocked.
Note:
This function replaces the deprecated
wix-users-backend.blockByEmail()
.
The deprecated function will continue to work, but it will not receive updates.
To keep any existing code compatible with future changes, see the
migration instructions.
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.
Was this helpful?
Yes
No