You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Previously if the required score was set to 0 (in an attempt to not i actually block anything), the default of 0.5 would be used instead. This was due to incorrect logic when checking for None values. This changes fixes this handling so that a required score of 0 may be set.
The docs state that "Validation is passed if the score value returned by Google is greater than or equal to required score." However the code was actually checking for a score greater than required, not greater than or equal to. This change fixes the logic to match the stated behavior.