ghost 5.4.0 → 5.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -297,7 +297,7 @@ class SettingsBREADService {
297
297
  if (EMAIL_KEYS.includes(setting.key)) {
298
298
  const email = setting.value;
299
299
  const key = setting.key;
300
- const hasChanged = getSetting(setting) !== email;
300
+ const hasChanged = getSetting(setting).value !== email;
301
301
 
302
302
  if (await this.requiresEmailVerification({email, hasChanged})) {
303
303
  emailsToVerify.push({email, key});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ghost",
3
- "version": "5.4.0",
3
+ "version": "5.4.1",
4
4
  "description": "The professional publishing platform",
5
5
  "author": "Ghost Foundation",
6
6
  "homepage": "https://ghost.org",
@@ -144,7 +144,7 @@
144
144
  "ghost-storage-base": "1.0.0",
145
145
  "glob": "8.0.3",
146
146
  "got": "9.6.0",
147
- "gscan": "4.31.2",
147
+ "gscan": "4.32.0",
148
148
  "html-to-text": "8.2.0",
149
149
  "human-number": "2.0.0",
150
150
  "image-size": "1.0.2",
package/yarn.lock CHANGED
@@ -6213,10 +6213,10 @@ grunt@1.5.3:
6213
6213
  nopt "~3.0.6"
6214
6214
  rimraf "~3.0.2"
6215
6215
 
6216
- gscan@4.31.2:
6217
- version "4.31.2"
6218
- resolved "https://registry.yarnpkg.com/gscan/-/gscan-4.31.2.tgz#d8dd1f156f7a59f655625c3422cfd89bb42df8ac"
6219
- integrity sha512-NuFcXRbSUSWOl6FuGPKT24dcepI/oMiUF6EGzMEGbY5ndl6Ba/BZrK9dT7hMHeyaJCn+T4fpxTPQqfXHkM2qcg==
6216
+ gscan@4.32.0:
6217
+ version "4.32.0"
6218
+ resolved "https://registry.yarnpkg.com/gscan/-/gscan-4.32.0.tgz#eb3211d7dd9c3b1cc3e9da883fe69283fb3bcbc8"
6219
+ integrity sha512-ntNUO3J7Rc9KLnaJQ+QoPrrPWfoWa+8AiuYfynu7QWTq/YebC5zmuYgZMyPVvRc7C669E5A0U3VOxyBEbeth8w==
6220
6220
  dependencies:
6221
6221
  "@sentry/node" "6.19.7"
6222
6222
  "@tryghost/config" "0.2.9"