Do some logging
This commit is contained in:
parent
f3c20bf3c0
commit
5a92f9e8a8
1 changed files with 2 additions and 0 deletions
|
|
@ -58,6 +58,8 @@ class Comment
|
||||||
end
|
end
|
||||||
|
|
||||||
def signature_valid?
|
def signature_valid?
|
||||||
|
Rails.logger.warn "Validating signature on comment from: #{person.inspect}"
|
||||||
|
Rails.logger.warn "#{person.real_name}" if person
|
||||||
person ? verify_signature(creator_signature, person) : true
|
person ? verify_signature(creator_signature, person) : true
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue