Skip to content

Commit

Permalink
Prevent unauthorized pdf downloads
Browse files Browse the repository at this point in the history
  • Loading branch information
Coder-Srinivas committed Aug 15, 2024
1 parent 4bac586 commit 32ff625
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# frozen_string_literal: true

class Api::V1::BadgeCertificateController < Api::V1::BaseController
before_action :render_unauthorized_unless_signed_in!

def show
badge_id = params[:badge_id]
email = params[:email]
Expand Down

0 comments on commit 32ff625

Please sign in to comment.