Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.
Fix bug in reset-password regex check (#372)
Leendert de Borst7c1aaab291b2
diff --git a/.github/workflows/docker-compose-build.yml b/.github/workflows/docker-compose-build.ymlindex 73c879a4e..09ee1acfc 100644--- a/.github/workflows/docker-compose-build.yml+++ b/.github/workflows/docker-compose-build.yml@@ -91,8 +91,8 @@ jobs:- name: Test install.sh reset-password outputrun: |output=$(./install.sh reset-password)- if ! echo "$output" | grep -E '.*New admin password: [A-Za-z0-9]{8,}.*'; then- echo "Password reset output format is incorrect. Expected format: 'New admin password: <at least 8 chars>'"+ if ! echo "$output" | grep -E '.*New admin password: [A-Za-z0-9+/=]{8,}.*'; then+ echo "Password reset output format is incorrect. Expected format: 'New admin password: <at least 8 base64 chars>'"echo "Actual output: $output"exit 1elsediff --git a/.github/workflows/docker-compose-pull.yml b/.github/workflows/docker-compose-pull.ymlindex 45b309f62..1cadb34cd 100644--- a/.github/workflows/docker-compose-pull.yml+++ b/.github/workflows/docker-compose-pull.yml@@ -91,7 +91,7 @@ jobs:- name: Test install.sh reset-password outputrun: |output=$(./install.sh reset-password)- if ! echo "$output" | grep -E '.*New admin password: [A-Za-z0-9]{8,}.*'; then+ if ! echo "$output" | grep -E '.*New admin password: [A-Za-z0-9+/=]{8,}.*'; thenecho "Password reset output format is incorrect. Expected format: 'New admin password: <at least 8 base64 chars>'"echo "Actual output: $output"exit 1