mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-04 00:08:50 +01:00
Removing signatures from output and adding two test cases: invalid signature and unknown sender
This commit is contained in:
parent
17bb939e9e
commit
0d4116cc93
2 changed files with 38 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue