mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-22 11:16:22 +00:00
fix: también informar los headers #17722
This commit is contained in:
parent
9c0305d79d
commit
1f4b1b5fce
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ class RegistrationsController < Devise::RegistrationsController
|
||||||
def anti_spambot_traps
|
def anti_spambot_traps
|
||||||
raise SpambotError if spambot?
|
raise SpambotError if spambot?
|
||||||
rescue SpambotError => e
|
rescue SpambotError => e
|
||||||
ExceptionNotifier.notify_exception(e, data: { params: anonymized_params })
|
ExceptionNotifier.notify_exception(e, data: { params: anonymized_params, headers: request.headers.to_h })
|
||||||
nil
|
nil
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue