[auth] Added reload after logout
This commit is contained in:
@@ -33,7 +33,7 @@ SwaggerUi.Views.ApiKeyButton = Backbone.View.extend({ // TODO: append this to gl
|
|||||||
|
|
||||||
clickLogout: function () {
|
clickLogout: function () {
|
||||||
window.swaggerUi.api.clientAuthorizations.remove(this.model.name);
|
window.swaggerUi.api.clientAuthorizations.remove(this.model.name);
|
||||||
this.remove();
|
this.router.load();
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
@@ -32,7 +32,7 @@ SwaggerUi.Views.BasicAuthButton = Backbone.View.extend({
|
|||||||
|
|
||||||
clickLogout: function () {
|
clickLogout: function () {
|
||||||
window.swaggerUi.api.clientAuthorizations.remove(this.model.name);
|
window.swaggerUi.api.clientAuthorizations.remove(this.model.name);
|
||||||
this.remove();
|
this.router.load();
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
Reference in New Issue
Block a user