Removed extra redirect on Admin for from address update

no issue

- Ghost-Admin redirects all paths to `/ghost/settings...` as `/ghost/#/settings/...`, this updates the admin redirect on successful magic link validation to directly use the latter to avoid extra redirect
This commit is contained in:
Rish 2020-06-11 19:32:15 +05:30 committed by Rishabh Garg
parent b2fa84c7ff
commit 41b3ecc744

View File

@ -79,7 +79,7 @@ function createSettingsInstance(config) {
const getAdminRedirectLink = () => {
const adminUrl = urlUtils.urlFor('admin', true);
return urlUtils.urlJoin(adminUrl, 'settings/labs/?fromAddressUpdate=success');
return urlUtils.urlJoin(adminUrl, '#/settings/labs/?fromAddressUpdate=success');
};
return {