diff --git a/docs/en_US/release_notes_7_0.rst b/docs/en_US/release_notes_7_0.rst index 26f8566a6..209f8f04d 100644 --- a/docs/en_US/release_notes_7_0.rst +++ b/docs/en_US/release_notes_7_0.rst @@ -2,7 +2,7 @@ Version 7.0 *********** -Release date: 2023-04-06 +Release date: 2023-04-11 This release contains a number of bug fixes and new features since the release of pgAdmin 4 v6.21. @@ -67,3 +67,4 @@ Bug fixes | `Issue #5958 `_ - Fix an issue where new dashboard graphs are partially following theme colors. | `Issue #5959 `_ - Fix an issue where Backup, Restore, and Maintenance not working if connection timeout is set in the server dialog. | `Issue #6018 `_ - Change the foreground color of the code mirror text for Dark Theme. + | `Issue #6100 `_ - Fixed the LDAP authentication issue for the simultaneous login attempts.(CVE-2023-1907) diff --git a/pkg/debian/build.sh b/pkg/debian/build.sh index 38396dd6b..ad58ca058 100755 --- a/pkg/debian/build.sh +++ b/pkg/debian/build.sh @@ -36,7 +36,9 @@ cat << EOF > "${SERVERROOT}/DEBIAN/preinst" #!/bin/sh rm -rf /usr/pgadmin4/venv -rm -rf /usr/pgadmin4/web +if [ -d /usr/pgadmin4/web ]; then + cd /usr/pgadmin4/web && rm -rf $(ls -A -I config_local.py) +fi EOF chmod 755 "${SERVERROOT}/DEBIAN/preinst" diff --git a/pkg/redhat/build.sh b/pkg/redhat/build.sh index b1547b540..32c1e7113 100755 --- a/pkg/redhat/build.sh +++ b/pkg/redhat/build.sh @@ -69,7 +69,9 @@ The core server package for pgAdmin. pgAdmin is the most popular and feature ric %pre rm -rf /usr/pgadmin4/venv -rm -rf /usr/pgadmin4/web +if [ -d /usr/pgadmin4/web ]; then + cd /usr/pgadmin4/web && rm -rf $(ls -A -I config_local.py) +fi %build