Files
threshold-ui/ui/admin/app/routes/authentication-error.js
T
2024-05-31 11:29:24 -07:00

23 lines
401 B
JavaScript

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: BUSL-1.1
*/
import Route from '@ember/routing/route';
import { inject as service } from '@ember/service';
export default class AuthenticationErrorRoute extends Route {
// =services
@service('browser/window') window;
// =methods
/**
* @return {string}
*/
model() {
return this.window.location.toString();
}
}