diff --git a/packages/ember-simple-auth/addon/configuration.js b/packages/ember-simple-auth/addon/configuration.js index 188a4be7c1..d0797b286e 100644 --- a/packages/ember-simple-auth/addon/configuration.js +++ b/packages/ember-simple-auth/addon/configuration.js @@ -1,8 +1,8 @@ -import { getWithDefault } from '@ember/object'; +import { getWithDefault } from "@ember/object"; const DEFAULTS = { - rootURL: '', - routeAfterAuthentication: 'index', + rootURL: "", + routeAfterAuthentication: "index", }; /** @@ -39,7 +39,11 @@ export default { routeAfterAuthentication: DEFAULTS.routeAfterAuthentication, load(config) { - this.rootURL = getWithDefault(config, 'rootURL', DEFAULTS.rootURL); - this.routeAfterAuthentication = getWithDefault(config, 'ember-simple-auth.routeAfterAuthentication', DEFAULTS.routeAfterAuthentication); - } + this.rootURL = getWithDefault(config, "rootURL", DEFAULTS.rootURL); + this.routeAfterAuthentication = getWithDefault( + config, + "routeAfterAuthentication", + DEFAULTS.routeAfterAuthentication + ); + }, };