Skip to content

Conversation

@varjolintu
Copy link
Member

If login form has a password input field that has been replaced by the page script with an identical input element, the extension still tries to fill the old one and fails.
If the password input in the combination differs from the form saved in the combination, query the form again and identify the identical field. If found, replace the combination's password input with the new one.

A rare case (and a bit hacky), but it might fix some other sites as well.

Testing strategy

Test with page: https://sandbox.moodledemo.net/login/index.php

Type of change

  • ✅ Bug fix (non-breaking change that fixes an issue)

@varjolintu varjolintu added this to the 1.9.11 milestone Oct 29, 2025
@varjolintu varjolintu added the bug label Oct 29, 2025
@varjolintu varjolintu merged commit 9a32e8c into develop Nov 1, 2025
@varjolintu varjolintu deleted the fix/requery_form_if_password_input_changed branch November 1, 2025 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Password field detection broken by Moodle

3 participants