emailotp also sends to a non-existent user

The emailotp plugin also sends otp to unregistered users and tries to register even though disableSignup is true, am I doing something wrong?
No description
3 Replies
Linus Rogge
Linus Rogge3mo ago
I am sure you checked that, but just from looking at your code: it says disableSignUp: false—the opposite of what you are trying, I suppose?
Furkan Özay
Furkan ÖzayOP3mo ago
I didn't realize I was tired, thank you, but now even if it doesn't trigger the function, instead of returning an error, it returned 200
No description
Ping
Ping3mo ago
Just checked the code - it looks intentional that it returns {success: true}

Did you find this page helpful?