mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-04-15 03:01:37 -05:00
🐛 Fixed Admin redirect for newsletter/support email update (#12810)
closes https://github.com/TryGhost/Team/issues/570 When site owner/admin updates their newsletter/support email address from settings, they receive an email with confirmation link which on success takes them to Ghost Admin on email settings screen with a toast about success. Since the path for email settings in Ghost Admin changed in v4, the fix updates the redirect link to new Admin settings URL.
This commit is contained in:
parent
81a54a70bc
commit
738c8ac70d
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ function createSettingsInstance(config) {
|
|||
|
||||
const getAdminRedirectLink = ({type}) => {
|
||||
const adminUrl = urlUtils.urlFor('admin', true);
|
||||
return urlUtils.urlJoin(adminUrl, `#/settings/labs/members/?${type}=success`);
|
||||
return urlUtils.urlJoin(adminUrl, `#/settings/members-email/?${type}=success`);
|
||||
};
|
||||
|
||||
return {
|
||||
|
|
Loading…
Add table
Reference in a new issue