Rule should not fire when user logs in with one-time-link from password recovery
You may want to give this a try:


Rules Event: User has logged in.
Rules Condition: Text Comparison with


Text Data Selector = site:current-page:path
Matching Text = reset
Comparison Operator = contains

Rules Action(s): whatever makes sense.


I'm not 100% sure about the value of the "Matching Text" (if it's not reset, then adapt that value to something that fits for these kinds of one time login URLs).