summaryrefslogtreecommitdiff
path: root/app/controllers/api/refresh_tokens_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/api/refresh_tokens_controller.rb')
-rw-r--r--app/controllers/api/refresh_tokens_controller.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/controllers/api/refresh_tokens_controller.rb b/app/controllers/api/refresh_tokens_controller.rb
index fd16079..1f78f4d 100644
--- a/app/controllers/api/refresh_tokens_controller.rb
+++ b/app/controllers/api/refresh_tokens_controller.rb
@@ -3,8 +3,6 @@
module Api
# The controller to generate new tokens.
class RefreshTokensController < AuthenticatedController
- before_action :validate_jwt
-
def create
@current_user_account.update_attribute(:session_key, SecureRandom.hex(16))
@token = service.call(authentication_token[0]['exp'])