0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00

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 {