[auth] Added reload after logout

This commit is contained in:
bodnia
2016-03-02 01:06:37 +02:00
committed by Anna Bodnia
parent e957ff85bf
commit 379440f54d
2 changed files with 2 additions and 2 deletions

View File

@@ -33,7 +33,7 @@ SwaggerUi.Views.ApiKeyButton = Backbone.View.extend({ // TODO: append this to gl
clickLogout: function () {
window.swaggerUi.api.clientAuthorizations.remove(this.model.name);
this.remove();
this.router.load();
}
});

View File

@@ -32,7 +32,7 @@ SwaggerUi.Views.BasicAuthButton = Backbone.View.extend({
clickLogout: function () {
window.swaggerUi.api.clientAuthorizations.remove(this.model.name);
this.remove();
this.router.load();
}
});