From 3b7acbd0866981b1588db284d58608922f1d74f3 Mon Sep 17 00:00:00 2001 From: Neil Lalonde Date: Tue, 10 Jul 2018 11:10:06 -0400 Subject: [PATCH] FIX: broken image on password reset page on subfolder installs --- .../javascripts/discourse/controllers/password-reset.js.es6 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/assets/javascripts/discourse/controllers/password-reset.js.es6 b/app/assets/javascripts/discourse/controllers/password-reset.js.es6 index 38ca5664308..b012e29ed01 100644 --- a/app/assets/javascripts/discourse/controllers/password-reset.js.es6 +++ b/app/assets/javascripts/discourse/controllers/password-reset.js.es6 @@ -1,5 +1,4 @@ import { default as computed } from "ember-addons/ember-computed-decorators"; -import getUrl from "discourse-common/lib/get-url"; import DiscourseURL from "discourse/lib/url"; import { ajax } from "discourse/lib/ajax"; import PasswordValidation from "discourse/mixins/password-validation"; @@ -30,7 +29,7 @@ export default Ember.Controller.extend(PasswordValidation, { return Discourse.getURL(redirectTo || "/"); }, - lockImageUrl: getUrl("/images/lock.svg"), + lockImageUrl: Discourse.getURL("/images/lock.svg"), actions: { submit() {