OHIF-157 Use OHIF.utils.absoluteUrl which removes the leading “/” from path before calling Meteor.absoluteUrl
This commit is contained in:
1 parent
583147c542
commit
82876ddbe7
8 files changed
+23
-13
No files matched your search
@@ -1,3 +1,5 @@
|
||||
import { OHIF } from 'meteor/ohif:core';
|
||||
|
||||
Meteor.startup(function () {
|
||||
|
||||
// Mail server settings
|
||||
@@ -33,7 +35,7 @@ Meteor.startup(function () {
|
||||
};
|
||||
|
||||
Accounts.urls.resetPassword = function(token) {
|
||||
return Meteor.absoluteUrl('resetPassword/' + token);
|
||||
return OHIF.utils.absoluteUrl('resetPassword/' + token);
|
||||
};
|
||||
|
||||
Accounts.emailTemplates.resetPassword.text = function(user, url) {
|
||||
|
||||
Reference in new issue
Block a user