Skip to content

Commit

Permalink
remove empty lines
Browse files Browse the repository at this point in the history
  • Loading branch information
mortbauer committed Feb 17, 2024
1 parent 1d41a3a commit 1cbff2c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions plugins/discourse/app/controllers/discourse_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ def redirect_to_with_payload(url, payload)
base64_payload = Base64.strict_encode64 payload.to_query
sso = CGI.escape base64_payload
sig = get_hmac_hex_string base64_payload


redirect_to "#{url}#{url.include?('?') ? '&' : '?'}sso=#{sso}&sig=#{sig}", allow_other_host: true
end

Expand Down

0 comments on commit 1cbff2c

Please sign in to comment.