Email/password confirm function always return confirmed

My plan was to always make newly created user in pending state.

I use the below code in function of email/password’s “Run a confirmation function”

exports = ({ token, tokenId, username }) => {
return { status: ‘pending’ };

But whenever I create any user via the Realm UI or RestAPI it will always result in “Confirmed”.

Please enlighten me.