Fix logout bug
@@ -1679,16 +1679,15 @@ $ uaac client add '<span class="hi">[[= p.client_id ]]</span>' \
type: "GET",
url: "/v2/auth/logout",
success: function () {
- $global.auth = { unauthenticated: true };
- goto("");
+ document.location.href = '/';
},
error: function (xhr) {
if (xhr.status >= 500) {
$('#viewport').html(template('BOOM'));
} else {
- goto("");
+ document.location.href = '/';
+ }
}
- },
});
})()
break;
