diff --git a/ui/javascripts/app/routes.js b/ui/javascripts/app/routes.js index d964b8e9e5..bedf867059 100644 --- a/ui/javascripts/app/routes.js +++ b/ui/javascripts/app/routes.js @@ -379,6 +379,9 @@ App.SettingsRoute = App.BaseRoute.extend({ // Adds any global parameters we need to set to a url/path function formatUrl(url, dc, token) { + if (token == null) { + token = ""; + } if (url.indexOf("?") > 0) { // If our url has existing params url = url + "&dc=" + dc;