mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 18:33:37 +08:00
FIX: broken image on password reset page on subfolder installs
This commit is contained in:
parent
f69b7deb80
commit
3b7acbd086
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user