diff --git a/ghost/sdk/theme-dropin/src/index.js b/ghost/sdk/theme-dropin/src/index.js index f0b5304a0a..8efa6f665b 100644 --- a/ghost/sdk/theme-dropin/src/index.js +++ b/ghost/sdk/theme-dropin/src/index.js @@ -24,6 +24,9 @@ DomReady(function () { const [tokenMatch, token] = query.match(/token=([a-zA-Z0-9-_]+.[a-zA-Z0-9-_]+.[a-zA-Z0-9-_]+)/) || []; if (tokenMatch) { return members.resetPassword({token}) + .then(() => { + window.location.hash = ''; + }) .then(reload); } }