Files
threshold-ui/ui/admin/app/routes/authentication-error.js
T
2025-03-12 08:29:54 -07:00

23 lines
391 B
JavaScript

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