mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-29 15:06:22 +00:00
Merge branch 'issue-17722' into production.panel.sutty.nl
This commit is contained in:
commit
1311ebb094
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