mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-28 21:33:24 +03: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:
parent
b2fa84c7ff
commit
41b3ecc744
@ -79,7 +79,7 @@ function createSettingsInstance(config) {
|
|||||||
|
|
||||||
const getAdminRedirectLink = () => {
|
const getAdminRedirectLink = () => {
|
||||||
const adminUrl = urlUtils.urlFor('admin', true);
|
const adminUrl = urlUtils.urlFor('admin', true);
|
||||||
return urlUtils.urlJoin(adminUrl, 'settings/labs/?fromAddressUpdate=success');
|
return urlUtils.urlJoin(adminUrl, '#/settings/labs/?fromAddressUpdate=success');
|
||||||
};
|
};
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
Loading…
Reference in New Issue
Block a user