Removing signatures from output and adding two test cases: invalid signature and unknown sender

This commit is contained in:
Stefan Richter 2011-10-06 16:41:46 +02:00
parent 17bb939e9e
commit 0d4116cc93
2 changed files with 38 additions and 2 deletions

View file

@ -44,7 +44,7 @@ class IntegrationsController < ApplicationController
# if signature does not match, return 403
if provided != signature
render :text => "Message signature fail #{provided} != #{signature}", :status => 403
render :text => "Message signature verification failed.", :status => 403
return false
end