Commit ff94c652 authored by Albert Jankowski's avatar Albert Jankowski
Browse files

Issue #3258675: Same IP Functionality isn't working correctly

parent 6c9b23fb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -57,7 +57,7 @@ class Email2AuthUser {
      FROM {email_2_auth_user}
      WHERE uid = :uid
      AND ip = :ip
      AND last_auth_date > NOW() - :seconds
      AND last_auth_date > DATE_SUB(NOW(), INTERVAL :seconds SECOND)
      LIMIT 1
    ", [
      ':uid' => $this->user->uid,