FIX: broken image on password reset page on subfolder installs

This commit is contained in:
Neil Lalonde 2018-07-10 11:10:06 -04:00
parent f69b7deb80
commit 3b7acbd086

View File

@ -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() {