"Verify Email" realm config puts "VERIFY_EMAIL" login action on users without email address

Hello,

I have noticed that when the realm login config “Verify Email” is ON, users without email address can still of course continue to login, their “Email verified” property remains false, but the “Verify Email” action is listed in the “Required user actions” list.

In our case it prevents us to recheck the password via API (for a sensitive action in our product). We use the token API to check that the password is OK.
But if the user has the “Verify Email” required action, then the API is failing with “Account is not full set up”.

Is there a way not to set the “verify_email” action on a user without email address (he won’t be able to fulfill it anyway) ?

Thanks

Lionel