From 5c899df07753a31543f8dad725a26ccddc44dfe2 Mon Sep 17 00:00:00 2001 From: HombreLaser Date: Mon, 13 Mar 2023 19:48:40 -0600 Subject: Añade método update a UserAccountsController MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/authenticated_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/controllers/authenticated_controller.rb') diff --git a/app/controllers/authenticated_controller.rb b/app/controllers/authenticated_controller.rb index 56159ab..cb4f34d 100644 --- a/app/controllers/authenticated_controller.rb +++ b/app/controllers/authenticated_controller.rb @@ -15,7 +15,7 @@ class AuthenticatedController < ApplicationController def current_user_role return if decoded_token.nil? - + decoded_token[0]['aud'] end -- cgit v1.2.3