Keep matching mainline as much as possible

This commit is contained in:
Mike Barnes 2024-10-09 14:00:25 +11:00
commit 4bc60b2b79
17 changed files with 3 additions and 128 deletions

View file

@ -198,8 +198,4 @@ class Auth::SessionsController < Devise::SessionsController
format.all { super }
end
end
def second_factor_attempts_key(user)
"2fa_auth_attempts:#{user.id}:#{Time.now.utc.hour}"
end
end