{"action":"created","issue":{"url":"https://api.github.com/repos/meteor-useraccounts/core/issues/373","labels_url":"https://api.github.com/repos/meteor-useraccounts/core/issues/373/labels{/name}","comments_url":"https://api.github.com/repos/meteor-useraccounts/core/issues/373/comments","events_url":"https://api.github.com/repos/meteor-useraccounts/core/issues/373/events","html_url":"https://github.com/meteor-useraccounts/core/issues/373","id":71626889,"number":373,"title":"verifyEmail doesn't work with custom url if I have configured the route","user":{"login":"c316","id":3142974,"avatar_url":"https://avatars.githubusercontent.com/u/3142974?v=3","gravatar_id":"","url":"https://api.github.com/users/c316","html_url":"https://github.com/c316","followers_url":"https://api.github.com/users/c316/followers","following_url":"https://api.github.com/users/c316/following{/other_user}","gists_url":"https://api.github.com/users/c316/gists{/gist_id}","starred_url":"https://api.github.com/users/c316/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/c316/subscriptions","organizations_url":"https://api.github.com/users/c316/orgs","repos_url":"https://api.github.com/users/c316/repos","events_url":"https://api.github.com/users/c316/events{/privacy}","received_events_url":"https://api.github.com/users/c316/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-04-28T15:48:58Z","updated_at":"2015-05-04T20:24:17Z","closed_at":"2015-04-30T01:46:39Z","body":"If I setup the configure route like this\r\n\r\n```\r\nAccountsTemplates.configureRoute('verifyEmail', {\r\n    name: 'verifyEmail',\r\n    path: '/verify-email',\r\n    redirect: 'accounts'\r\n});\r\n```\r\n\r\nThen setup my url like this\r\n\r\n```\r\nAccounts.urls.verifyEmail = function(token){\r\n    return \"http://mycustomdomain.com/\" + token;\r\n};\r\n```\r\n\r\nI get a localhost url instead\r\n\r\nIf I remove this part\r\n\r\n```\r\nAccountsTemplates.configureRoute('verifyEmail', {\r\n    name: 'verifyEmail',\r\n    path: '/verify-email',\r\n    redirect: 'accounts'\r\n});\r\n```\r\n\r\nThen my custom url comes through just fine. Of course I can't use the url unless I add the above code back in to define that route. \r\n\r\nAny idea what I might do to resolve this problem? "},"comment":{"url":"https://api.github.com/repos/meteor-useraccounts/core/issues/comments/98839513","html_url":"https://github.com/meteor-useraccounts/core/issues/373#issuecomment-98839513","issue_url":"https://api.github.com/repos/meteor-useraccounts/core/issues/373","id":98839513,"user":{"login":"c316","id":3142974,"avatar_url":"https://avatars.githubusercontent.com/u/3142974?v=3","gravatar_id":"","url":"https://api.github.com/users/c316","html_url":"https://github.com/c316","followers_url":"https://api.github.com/users/c316/followers","following_url":"https://api.github.com/users/c316/following{/other_user}","gists_url":"https://api.github.com/users/c316/gists{/gist_id}","starred_url":"https://api.github.com/users/c316/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/c316/subscriptions","organizations_url":"https://api.github.com/users/c316/orgs","repos_url":"https://api.github.com/users/c316/repos","events_url":"https://api.github.com/users/c316/events{/privacy}","received_events_url":"https://api.github.com/users/c316/received_events","type":"User","site_admin":false},"created_at":"2015-05-04T20:24:17Z","updated_at":"2015-05-04T20:24:17Z","body":"Yes, that is correct. I suppose this issue could be closed.\n\nOn Mon, May 4, 2015 at 2:24 PM, Luca Mussi <notifications@github.com> wrote:\n\n> Ok, I see.\n> So this is related to #240\n> <https://github.com/meteor-useraccounts/core/issues/240>, as you already\n> now ;-)\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/meteor-useraccounts/core/issues/373#issuecomment-98824411>\n> .\n>\n\n\n\n-- \nJoshua Bechard\n--\nLearn to do right! Seek justice, encourage the oppressed.\nDefend the cause of the fatherless,\nplead the case of the widow.\nIsaiah 1:17\n--\n"}}