Plugin Directory

Changeset 3332351


Ignore:
Timestamp:
07/22/2025 02:47:59 PM (8 months ago)
Author:
dueclic
Message:

Update to version 3.5.2 from GitHub

Location:
two-factor-login-telegram
Files:
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • two-factor-login-telegram/tags/3.5.2/README.md

    r3332313 r3332351  
    55Requires PHP: 7.0
    66Tested up to: 6.8
    7 Stable tag: 3.5.1
     7Stable tag: 3.5.2
    88License: GPLv3
    99License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    5353== Changelog ==
    5454
    55 = 3.5.1 =
    56 * Bugfixes in timestamp
     55= 3.5.2 =
     56* Timestamp bugfixes
    5757
    5858= 3.5.0 =
  • two-factor-login-telegram/tags/3.5.2/assets/js/wp-factor-telegram-plugin.js

    r3332295 r3332351  
    3131            var isConfigured = $twconfigrow.length > 0;
    3232
    33             if ($(this).is(":checked") && !isConfigured) {
    34                 $twconfig.addClass('show').show();
    35                 updateProgress(25);
     33            if ($(this).is(":checked")) {
     34                // Enable 2FA = 1, so tg_wp_factor_valid = 0
     35                $twctrl.val(0);
     36                if (!isConfigured) {
     37                    $twconfig.addClass('show').show();
     38                    updateProgress(25);
     39                }
    3640            } else {
     41                // Enable 2FA = 0, so tg_wp_factor_valid = 1
     42                $twctrl.val(1);
    3743                $twconfig.removeClass('show');
    3844                setTimeout(function() {
    3945                    $twconfig.hide();
    4046                }, 300);
    41                 $twctrl.val(0);
    4247                updateProgress(0);
    4348                resetStatusIndicators();
  • two-factor-login-telegram/tags/3.5.2/two-factor-telegram.php

    r3332313 r3332351  
    55 * Plugin URI: https://blog.dueclic.com/wordpress-autenticazione-due-fattori-telegram/
    66 * Description: This plugin enables two factor authentication with Telegram by increasing your website security and sends an alert every time a wrong login occurs.
    7  * Version: 3.5.1
     7 * Version: 3.5.2
    88 * Requires at least: 6.0
    99 * Tested up to: 6.8
     
    2222}
    2323
    24 define('WP_FACTOR_PLUGIN_VERSION', '3.5.1');
     24define('WP_FACTOR_PLUGIN_VERSION', '3.5.2');
    2525
    2626define('WP_FACTOR_AUTHCODE_EXPIRE_SECONDS', 60 * 20);
  • two-factor-login-telegram/trunk/README.md

    r3332313 r3332351  
    55Requires PHP: 7.0
    66Tested up to: 6.8
    7 Stable tag: 3.5.1
     7Stable tag: 3.5.2
    88License: GPLv3
    99License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    5353== Changelog ==
    5454
    55 = 3.5.1 =
    56 * Bugfixes in timestamp
     55= 3.5.2 =
     56* Timestamp bugfixes
    5757
    5858= 3.5.0 =
  • two-factor-login-telegram/trunk/assets/js/wp-factor-telegram-plugin.js

    r3332295 r3332351  
    3131            var isConfigured = $twconfigrow.length > 0;
    3232
    33             if ($(this).is(":checked") && !isConfigured) {
    34                 $twconfig.addClass('show').show();
    35                 updateProgress(25);
     33            if ($(this).is(":checked")) {
     34                // Enable 2FA = 1, so tg_wp_factor_valid = 0
     35                $twctrl.val(0);
     36                if (!isConfigured) {
     37                    $twconfig.addClass('show').show();
     38                    updateProgress(25);
     39                }
    3640            } else {
     41                // Enable 2FA = 0, so tg_wp_factor_valid = 1
     42                $twctrl.val(1);
    3743                $twconfig.removeClass('show');
    3844                setTimeout(function() {
    3945                    $twconfig.hide();
    4046                }, 300);
    41                 $twctrl.val(0);
    4247                updateProgress(0);
    4348                resetStatusIndicators();
  • two-factor-login-telegram/trunk/two-factor-telegram.php

    r3332313 r3332351  
    55 * Plugin URI: https://blog.dueclic.com/wordpress-autenticazione-due-fattori-telegram/
    66 * Description: This plugin enables two factor authentication with Telegram by increasing your website security and sends an alert every time a wrong login occurs.
    7  * Version: 3.5.1
     7 * Version: 3.5.2
    88 * Requires at least: 6.0
    99 * Tested up to: 6.8
     
    2222}
    2323
    24 define('WP_FACTOR_PLUGIN_VERSION', '3.5.1');
     24define('WP_FACTOR_PLUGIN_VERSION', '3.5.2');
    2525
    2626define('WP_FACTOR_AUTHCODE_EXPIRE_SECONDS', 60 * 20);
Note: See TracChangeset for help on using the changeset viewer.