Commit b63a9517 authored by Javiera Parada Epul's avatar Javiera Parada Epul 💬

Merge branch '477-cambiar-url-logout-claveunica' into 'master'

cambio de url logout claveunica

Closes #477

See merge request !508
parents 283cab44 888a5372
Pipeline #8805 passed with stage
in 2 minutes and 3 seconds
......@@ -113,7 +113,7 @@
$(function () {
$(document).ready(function(){
$('#cierreSesion').click(function (){
$.ajax({ url: 'https://api.claveunica.gob.cl/api/v1/accounts/app/logout', dataType: 'script' }) .always(function() {
$.ajax({ url: 'https://accounts.claveunica.gob.cl/api/v1/accounts/app/logout', dataType: 'script' }) .always(function() {
window.location.href = '/logout';
});
});
......
......@@ -72,7 +72,7 @@
$(function () {
$(document).ready(function(){
$('#cierreSesion').click(function (){
$.ajax({ url: 'https://api.claveunica.gob.cl/api/v1/accounts/app/logout', dataType: 'script' }) .always(function() {
$.ajax({ url: 'https://accounts.claveunica.gob.cl/api/v1/accounts/app/logout', dataType: 'script' }) .always(function() {
window.location.href = '/logout';
});
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment