From 3618632129a10c648fd5cb068713430caf6baa5e Mon Sep 17 00:00:00 2001 From: Sanne de Vries <65487235+sanne-san@users.noreply.github.com> Date: Tue, 2 Jul 2024 16:26:12 +0200 Subject: [PATCH] Updated password updated successfully notification copy (#20512) REF DES-540 --- .../api/endpoints/utils/serializers/output/authentication.js | 2 +- .../api/admin/__snapshots__/authentication.test.js.snap | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ghost/core/core/server/api/endpoints/utils/serializers/output/authentication.js b/ghost/core/core/server/api/endpoints/utils/serializers/output/authentication.js index d041a915b5..a3410985a3 100644 --- a/ghost/core/core/server/api/endpoints/utils/serializers/output/authentication.js +++ b/ghost/core/core/server/api/endpoints/utils/serializers/output/authentication.js @@ -4,7 +4,7 @@ const debug = require('@tryghost/debug')('api:endpoints:utils:serializers:output const messages = { checkEmailForInstructions: 'Check your email for further instructions.', - passwordChanged: 'Password changed successfully.', + passwordChanged: 'Password updated', invitationAccepted: 'Invitation accepted.' }; diff --git a/ghost/core/test/regression/api/admin/__snapshots__/authentication.test.js.snap b/ghost/core/test/regression/api/admin/__snapshots__/authentication.test.js.snap index 3193220da6..825e3e030b 100644 --- a/ghost/core/test/regression/api/admin/__snapshots__/authentication.test.js.snap +++ b/ghost/core/test/regression/api/admin/__snapshots__/authentication.test.js.snap @@ -754,7 +754,7 @@ exports[`Authentication API Password reset reset password 1: [body] 1`] = ` Object { "password_reset": Array [ Object { - "message": "Password changed successfully.", + "message": "Password updated", }, ], } @@ -764,7 +764,7 @@ exports[`Authentication API Password reset reset password 2: [headers] 1`] = ` Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", - "content-length": "65", + "content-length": "51", "content-type": "application/json; charset=utf-8", "content-version": StringMatching /v\\\\d\\+\\\\\\.\\\\d\\+/, "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/,