Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix password replacement for unsubmitted and unsaved forms #142

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ncosta-ic
Copy link
Member

@ncosta-ic ncosta-ic commented Mar 19, 2025

The password replacement should not get triggered on unsubmitted forms and on forms that have not been persisted yet (which gets caused by autosubmits, validations, etc...).

@nilmerg I kept the validity check as it would break #57 (comment) when removed. It still works as expected. Adding and saving a new transport command with wrong credentials still suppresses the password replacement.

Resolves: Icinga/icinga-notifications-web#224

@ncosta-ic ncosta-ic added the enhancement New feature or request label Mar 19, 2025
@ncosta-ic ncosta-ic self-assigned this Mar 19, 2025
@cla-bot cla-bot bot added the cla/signed label Mar 19, 2025
@ncosta-ic ncosta-ic force-pushed the feature/password-dummy-toggle branch from c22a7be to cf3e08e Compare March 21, 2025 18:56
@ncosta-ic ncosta-ic changed the title Integrate toggle for password replacement Fix password replacement for unsubmitted and unsaved forms Mar 21, 2025
@ncosta-ic ncosta-ic force-pushed the feature/password-dummy-toggle branch from cf3e08e to 74bc2a3 Compare March 21, 2025 19:15
@ncosta-ic ncosta-ic requested review from nilmerg and removed request for sukhwinder33445 March 21, 2025 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla/signed enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add source form sometimes says the password is required even if it was filled in
1 participant