mirror of
https://github.com/TracksApp/tracks.git
synced 2026-03-16 01:06:32 +01:00
remove Digest deprecation warning
This commit is contained in:
parent
beac5bffb0
commit
128da07fc2
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ class MailgunController < ApplicationController
|
||||||
|
|
||||||
def verify
|
def verify
|
||||||
unless params['signature'] == OpenSSL::HMAC.hexdigest(
|
unless params['signature'] == OpenSSL::HMAC.hexdigest(
|
||||||
OpenSSL::Digest::Digest.new('sha256'),
|
OpenSSL::Digest.new('sha256'),
|
||||||
SITE_CONFIG['mailgun_api_key'],
|
SITE_CONFIG['mailgun_api_key'],
|
||||||
'%s%s' % [params['timestamp'], params['token']]
|
'%s%s' % [params['timestamp'], params['token']]
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue