Skip to content

Commit ab33206

Browse files
committed
Fix heroku isseus with secret key
1 parent ba08d02 commit ab33206

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/lib/json_web_token.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# app/lib/json_web_token.rb
22
class JsonWebToken
33
# secret to encode and decode token
4-
HMAC_SECRET = Rails.application.secrets.secret_key_base
4+
HMAC_SECRET = 'somesecretkeyissuestakingplacehere'
55

66
def self.encode(payload, exp = 24.hours.from_now)
77
# set expiry to 24 hours from creation time

0 commit comments

Comments
 (0)