Просмотр исходного кода

Merge branch 'master' into fix/62165-prevent-xss-about-app-settings

itizawa 5 лет назад
Родитель
Сommit
e515d499f7
2 измененных файлов с 17 добавлено и 0 удалено
  1. 3 0
      CHANGES.md
  2. 14 0
      src/client/js/services/AdminAppContainer.js

+ 3 - 0
CHANGES.md

@@ -3,11 +3,14 @@
 ## v4.2.8-RC
 
 * Fix: Pass app settings values through the XSS filter
+* Fix: Fixed not being able to update ses settings
+    * Introduced by v4.2.0
 * Fix: Fixed the display of updtedAt and createdAt being reversed
 * Improvement: Improved page control performance with stream and bulk
     * rename, duplicate, delete, deleteCompletely, revrtDeleted
 * Fix: Failed to save temporaryUrlCached with using gcs
     * Introduced by v4.2.3
+
 ## v4.2.7
 
 * Fix: Installer doesn't work on Chrome

+ 14 - 0
src/client/js/services/AdminAppContainer.js

@@ -201,6 +201,20 @@ export default class AdminAppContainer extends Container {
     this.setState({ smtpPassword });
   }
 
+  /**
+   * Change sesAccessKeyId
+   */
+  changeSesAccessKeyId(sesAccessKeyId) {
+    this.setState({ sesAccessKeyId });
+  }
+
+  /**
+   * Change sesSecretAccessKey
+   */
+  changeSesSecretAccessKey(sesSecretAccessKey) {
+    this.setState({ sesSecretAccessKey });
+  }
+
   /**
    * Change s3Region
    */