Commit 187eb5ae authored by Developer's avatar Developer

Updated elapsed registration_form_time to 5 seconds

• Updated:
- elapsed registration_form_time to 5 seconds
parent d7271b89
......@@ -69,7 +69,7 @@ class Auth::RegistrationsController < Devise::RegistrationsController
private
def check_form_submission_speed
if session[:registration_form_time] > 10.seconds.ago
if session[:registration_form_time] > 5.seconds.ago
flash[:alert] = I18n.t('auth.too_fast')
respond_with_navigational(resource) {
redirect_to new_user_registration_path
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment