Plugin Directory

Changeset 3269104


Ignore:
Timestamp:
04/08/2025 05:41:21 PM (12 months ago)
Author:
mosparo
Message:

Version 1.13.5 contains a small but important bug fix for all login form modules.

  • Added a fix for all account form modules to ignore the password field, especially when the password is visible.
Location:
mosparo-integration
Files:
4 edited
63 copied

Legend:

Unmodified
Added
Removed
  • mosparo-integration/tags/1.13.5/mosparo-integration.php

    r3263077 r3269104  
    1515 * Author URI:        https://mosparo.io/
    1616 * License:           MIT
    17  * Version:           1.13.4
     17 * Version:           1.13.5
    1818 * Text Domain:       mosparo-integration
    1919 * Domain Path:       /languages
  • mosparo-integration/tags/1.13.5/readme.txt

    r3263077 r3269104  
    55Tested up to: 6.7.2
    66Requires PHP: 7.4
    7 Stable tag: 1.13.4
     7Stable tag: 1.13.5
    88License: MIT
    99
     
    105105== Changelog ==
    106106
     107= 1.13.5 =
     108*Release Date: 8th April 2025*
     109
     110* [Bugfix] Added a fix for all account form modules to ignore the password field, especially when the password is visible.
     111
    107112= 1.13.4 =
    108113*Release Date: 27th March 2025*
  • mosparo-integration/tags/1.13.5/src/MosparoIntegration/ModuleForm/AbstractAccountForm.php

    r3113145 r3269104  
    5959
    6060        $frontendHelper = FrontendHelper::getInstance();
    61         echo $frontendHelper->generateField($connection);
     61        echo $frontendHelper->generateField($connection, [
     62            // We have to ignore the password fields by name because showing the password will change the type to 'text'
     63            // and the password is then sent to mosparo but will not be processed by the verification code, which results
     64            // in a wrong spam detection.
     65            'inputFieldSelector' => '[name]:not(.mosparo__ignored-field):not([name="pwd"]):not([name="password"])',
     66        ]);
    6267    }
    6368}
  • mosparo-integration/trunk/mosparo-integration.php

    r3263077 r3269104  
    1515 * Author URI:        https://mosparo.io/
    1616 * License:           MIT
    17  * Version:           1.13.4
     17 * Version:           1.13.5
    1818 * Text Domain:       mosparo-integration
    1919 * Domain Path:       /languages
  • mosparo-integration/trunk/readme.txt

    r3263077 r3269104  
    55Tested up to: 6.7.2
    66Requires PHP: 7.4
    7 Stable tag: 1.13.4
     7Stable tag: 1.13.5
    88License: MIT
    99
     
    105105== Changelog ==
    106106
     107= 1.13.5 =
     108*Release Date: 8th April 2025*
     109
     110* [Bugfix] Added a fix for all account form modules to ignore the password field, especially when the password is visible.
     111
    107112= 1.13.4 =
    108113*Release Date: 27th March 2025*
  • mosparo-integration/trunk/src/MosparoIntegration/ModuleForm/AbstractAccountForm.php

    r3113145 r3269104  
    5959
    6060        $frontendHelper = FrontendHelper::getInstance();
    61         echo $frontendHelper->generateField($connection);
     61        echo $frontendHelper->generateField($connection, [
     62            // We have to ignore the password fields by name because showing the password will change the type to 'text'
     63            // and the password is then sent to mosparo but will not be processed by the verification code, which results
     64            // in a wrong spam detection.
     65            'inputFieldSelector' => '[name]:not(.mosparo__ignored-field):not([name="pwd"]):not([name="password"])',
     66        ]);
    6267    }
    6368}
Note: See TracChangeset for help on using the changeset viewer.