Skip to content

Commit

Permalink
missing type
Browse files Browse the repository at this point in the history
  • Loading branch information
XavierM committed Nov 30, 2021
1 parent d513c46 commit c90f3fc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import { i18n } from '@kbn/i18n';
import type { CoreSetup, HttpSetup } from 'src/core/public';

import { SecurityTelemetryService } from '../../usage_collection';
import { SecurityUsageCollectionService } from '../../usage_collection';

interface CreateDeps {
application: CoreSetup['application'];
Expand All @@ -26,7 +26,7 @@ export const logoutApp = Object.freeze({
appRoute: '/logout',
async mount() {
window.sessionStorage.clear();
window.localStorage.removeItem(SecurityTelemetryService.KeyAuthType);
window.localStorage.removeItem(SecurityUsageCollectionService.KeyAuthType);

// Redirect user to the server logout endpoint to complete logout.
window.location.href = http.basePath.prepend(
Expand Down

0 comments on commit c90f3fc

Please sign in to comment.