Skip to content


Add csrf protection to reset action
Browse files Browse the repository at this point in the history
Signed-off-by: Nick Quaranto <>
  • Loading branch information
ivantsepp authored and qrush committed Jun 22, 2016
1 parent 3c10ff2 commit cc492ed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/controllers/api/v1/api_keys_controller.rb
@@ -1,4 +1,5 @@
class Api::V1::ApiKeysController < Api::BaseController
before_action :verify_authenticity_token, only: :reset
before_action :redirect_to_root, unless: :signed_in?, only: [:reset]

def show
Expand Down

0 comments on commit cc492ed

Please sign in to comment.