Compare commits

..

1 Commits

Author SHA1 Message Date
a8fb815103 feat: initial version
Some checks failed
Test Stalwart Installation Action / Error Handling Tests (pull_request) Successful in 18s
Test Stalwart Installation Action / Full Configuration (Domains + Users) (pull_request) Failing after 34s
Test Stalwart Installation Action / Basic Installation (No Config) (pull_request) Successful in 47s
Test Stalwart Installation Action / Installation with Admin Password (pull_request) Failing after 1m13s
Test Stalwart Installation Action / Test on Ubuntu ubuntu-20.04 (pull_request) Has been cancelled
Test Stalwart Installation Action / Test on Ubuntu ubuntu-22.04 (pull_request) Has been cancelled
Test Stalwart Installation Action / Test on Ubuntu ubuntu-24.04 (pull_request) Has been cancelled
Test Stalwart Installation Action / Test Summary (pull_request) Has been cancelled
Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
2026-02-15 00:49:34 -05:00

View File

@@ -60,7 +60,18 @@ main() {
log_info "Updating admin password..."
if update_admin_password "$current_password" "$ADMIN_PASSWORD"; then
log_success "Admin password updated successfully"
# Give Stalwart a moment to apply the change
sleep 2
# Verify the new password works
if test_auth "$ADMIN_PASSWORD"; then
log_success "New password verified"
current_password="$ADMIN_PASSWORD"
else
log_error "New password verification failed"
return 1
fi
else
log_error "Failed to update admin password"
return 1