OTP plugin usage

Hi, is there any reference code with showcase of usage email-otp plugin? Currently im strugling with checking otp code, cant get how to determine if otp typed by user is valid.
Was this page helpful?