diff options
author | HombreLaser <sebastian-440@live.com> | 2023-03-10 19:16:12 -0600 |
---|---|---|
committer | HombreLaser <sebastian-440@live.com> | 2023-03-10 19:16:12 -0600 |
commit | f39235d865412d75625779a557a6c51736798dfa (patch) | |
tree | eac8c00aba703fdf5c7683b448afbd0f15fa5b78 /app/controllers/api/refresh_tokens_controller.rb | |
parent | 6a9c7e493a309670e2dba433331ed75a374aaf39 (diff) |
Cambiar peticiones post para que usen formularios
Diffstat (limited to 'app/controllers/api/refresh_tokens_controller.rb')
-rw-r--r-- | app/controllers/api/refresh_tokens_controller.rb | 2 |
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']) |