Module: Protection::TimingAtack

Extended by:
ActiveSupport::Concern
Included in:
Aikotoba::ConfirmsController, Aikotoba::RecoveriesController, Aikotoba::UnlocksController
Defined in:
app/controllers/concerns/aikotoba/protection/timing_atack.rb

Instance Method Summary collapse

Instance Method Details

#prevent_timing_atackObject



9
10
11
# File 'app/controllers/concerns/aikotoba/protection/timing_atack.rb', line 9

def prevent_timing_atack
  random_delay if aikotoba_prevent_timing_atack
end