Changeset 3001934
- Timestamp:
- 11/27/2023 12:57:25 AM (2 years ago)
- Location:
- wordpress-2-step-verification/2.x
- Files:
-
- 6 edited
-
includes/Wp2sv_Auth.php (modified) (2 diffs)
-
includes/Wp2sv_User.php (modified) (3 diffs)
-
public/assets/css/setup.css (modified) (1 diff)
-
readme.txt (modified) (1 diff)
-
resources/less/setup/backup-codes.less (modified) (1 diff)
-
wordpress-2-step-verification.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wordpress-2-step-verification/2.x/includes/Wp2sv_Auth.php
r2805417 r3001934 6 6 /** 7 7 * Class Wp2sv_Auth 8 * @property $username9 * @property $hmac10 * @property $token11 * @property $expiration12 8 */ 13 9 class Wp2sv_Auth{ 14 var$cookie_name;15 var$cookie_name_secure;16 var$trusted_cookie_name;10 protected $cookie_name; 11 protected $cookie_name_secure; 12 protected $trusted_cookie_name; 17 13 protected $wp2sv; 18 14 protected $recentlyCreatedToken; … … 22 18 $this->cookie_name_secure='wp2sv_sec_'.COOKIEHASH; 23 19 $this->trusted_cookie_name='wp2sv_'.md5(get_current_user_id()); 24 if ($cookie_elements = $this->parseCookie()){25 foreach($cookie_elements as $key=>$val){26 $this->$key=$val;27 }28 }29 20 } 30 21 function isTrusted(){ -
wordpress-2-step-verification/2.x/includes/Wp2sv_User.php
r1964740 r3001934 36 36 $this->user=$user; 37 37 } 38 39 #[\ReturnTypeWillChange] 38 40 function offsetGet($offset) 39 41 { … … 58 60 59 61 } 62 63 64 #[\ReturnTypeWillChange] 60 65 function offsetExists($offset) 61 66 { … … 75 80 } 76 81 } 82 #[\ReturnTypeWillChange] 77 83 function offsetUnset($offset) 78 84 { -
wordpress-2-step-verification/2.x/public/assets/css/setup.css
r2827906 r3001934 1 .wp2sv-setup .sync-link{background:url(../images/sync-time.png?e8c1916a5e043bc8b9f9bc1a61d66f7f) no-repeat scroll 0 0/cover transparent;cursor:pointer;display:inline-block;height:20px;left:5px;padding:5px!important;position:relative;text-indent:-9999px;top:5px;width:20px}.wp2sv-setup .sync-link.loading{background:url(../images/sync-time.gif?afc70bf83d47dd59c84ff09e1012ac0a) no-repeat scroll 0 0/cover transparent}.wp2sv-setup .wp2sv-icon{background:no-repeat url(../images/all.png?aeb723d2e0a4946d32e0a9a9fbf3cb3d);background-size:277px 197px;height:36px;width:36px}.wp2sv-setup .wp2sv-icon.wp2svi-ga{background-position:-24px 0}.wp2sv-setup .wp2sv-icon.wp2svi-additional-layer{background-position:-1px -37px}.wp2sv-setup .wp2sv-icon.wp2svi-hacker{background-position:-1px -117px}.wp2sv-setup .wp2sv-icon.wp2svi-airplane{background-position:-96px 0}.wp2sv-setup .wp2sv-icon.wp2svi-message{background-position:-60px 0}.wp2sv-setup .wp2sv-icon.wp2svi-app-passwords{background-position:-246px 0}.wp2sv-setup .wp2sv-icon.wp2svi-usb{background-position:-208px 0}.wp2sv-setup .wp2sv-icon.wp2svi-devices{background-position:-135px 0}.wp2sv-setup .wp2sv-modal .card-body{font-size:15px}.wp2sv-setup .wp2sv-container{margin:0 auto;max-width:660px;min-width:300px;width:100%}.wp2sv-setup .wp2sv-qrcode{display:block;margin:0 auto;padding:20px;text-align:center}.wp2sv-setup .wp2sv-start .wp2sv-logo{background-image:url(https://ps.w.org/wordpress-2-step-verification/assets/icon-128x128.png?rev=1391369);background-size:cover;height:48px;margin:auto;width:48px}.wp2sv-setup .wp2sv-start .wp2sv-icon{height:79px;margin-right:45px;width:105px}.wp2sv-setup #wp2sv-backup-codes-modal{width:131mm;width:-moz-fit-content;width:fit-content}.wp2sv-setup #wp2sv-backup-codes-modal .card-body{width:110mm}.wp2sv-setup #wp2sv-backup-codes-modal .card-body .btn-new-codes{margin:.5em}.wp2sv-setup .backup-codes{border:1px dashed #ccc;padding:16px 0}.wp2sv-setup .backup-codes .backup-info{font-size:14px;text-align:center}.wp2sv-setup .backup-codes .backup-info img{border:none;height:auto;width:48px}.wp2sv-setup .backup-codes .backup-note{font-size:14px;list-style:square;margin:auto;max-width:400px;width:50%;width:-moz-fit-content;width:fit-content}.wp2sv-setup .backup-codes .backup-codes-list{display:inline-block;font-size:15pt;margin:auto }.wp2sv-setup .backup-codes .backup-codes-list span.cb{border:1px solid;display:inline-block;height:14px;margin-right:2px;width:14px}.wp2sv-setup .backup-codes .backup-codes-list tr td:first-child{padding-right:40px}.wp2sv-setup .wp2sv-app-passwords{width:100%}.wp2sv-setup .wp2sv-app-passwords .wp2sv-container{background-color:#fff;border-radius:3px;box-shadow:0 1px 2px rgba(0,0,0,.15);box-sizing:border-box;padding:30px;text-align:left}.wp2sv-setup .wp2sv-app-passwords table{border-collapse:collapse;width:100%}.wp2sv-setup .wp2sv-app-passwords table .row{border-bottom:1px solid #e5e5e5}.wp2sv-setup .wp2sv-app-passwords table td{padding:12px 0}.wp2sv-setup .wp2sv-app-passwords table .col-name{padding-left:4px;width:30%}.wp2sv-setup .wp2sv-app-passwords table .col-created,.wp2sv-setup .wp2sv-app-passwords table .col-last-used{padding-left:20px;width:25%}.wp2sv-setup .wp2sv-app-passwords table .col-access{padding-left:20px;width:20%}.wp2sv-setup .wp2sv-app-passwords .app-add-password{line-height:42px;margin:20px 0}.wp2sv-setup .wp2sv-app-passwords .app-add-password span{margin-right:16px}.wp2sv-setup .wp2sv-app-passwords .app-add-password .app-name{margin:0;min-width:200px;padding-right:24px;width:50%}.wp2sv-setup #app-password-created .wp2sv-h1{font-size:20px;margin-bottom:20px}.wp2sv-setup #app-password-created .apc-title{font-weight:700;margin-bottom:16px}.wp2sv-setup #app-password-created .apc-pass{background:#ffe166;border:1px dashed rgba(0,0,0,.12);font-family:monospace;font-size:24px;margin:16px 0 32px;padding:12px}.wp2sv-setup #app-password-created .apc-pchunk{padding-left:1ex}.wp2sv-setup #app-password-created .apc-pchunk:first-child{padding-left:0}1 .wp2sv-setup .sync-link{background:url(../images/sync-time.png?e8c1916a5e043bc8b9f9bc1a61d66f7f) no-repeat scroll 0 0/cover transparent;cursor:pointer;display:inline-block;height:20px;left:5px;padding:5px!important;position:relative;text-indent:-9999px;top:5px;width:20px}.wp2sv-setup .sync-link.loading{background:url(../images/sync-time.gif?afc70bf83d47dd59c84ff09e1012ac0a) no-repeat scroll 0 0/cover transparent}.wp2sv-setup .wp2sv-icon{background:no-repeat url(../images/all.png?aeb723d2e0a4946d32e0a9a9fbf3cb3d);background-size:277px 197px;height:36px;width:36px}.wp2sv-setup .wp2sv-icon.wp2svi-ga{background-position:-24px 0}.wp2sv-setup .wp2sv-icon.wp2svi-additional-layer{background-position:-1px -37px}.wp2sv-setup .wp2sv-icon.wp2svi-hacker{background-position:-1px -117px}.wp2sv-setup .wp2sv-icon.wp2svi-airplane{background-position:-96px 0}.wp2sv-setup .wp2sv-icon.wp2svi-message{background-position:-60px 0}.wp2sv-setup .wp2sv-icon.wp2svi-app-passwords{background-position:-246px 0}.wp2sv-setup .wp2sv-icon.wp2svi-usb{background-position:-208px 0}.wp2sv-setup .wp2sv-icon.wp2svi-devices{background-position:-135px 0}.wp2sv-setup .wp2sv-modal .card-body{font-size:15px}.wp2sv-setup .wp2sv-container{margin:0 auto;max-width:660px;min-width:300px;width:100%}.wp2sv-setup .wp2sv-qrcode{display:block;margin:0 auto;padding:20px;text-align:center}.wp2sv-setup .wp2sv-start .wp2sv-logo{background-image:url(https://ps.w.org/wordpress-2-step-verification/assets/icon-128x128.png?rev=1391369);background-size:cover;height:48px;margin:auto;width:48px}.wp2sv-setup .wp2sv-start .wp2sv-icon{height:79px;margin-right:45px;width:105px}.wp2sv-setup #wp2sv-backup-codes-modal{width:131mm;width:-moz-fit-content;width:fit-content}.wp2sv-setup #wp2sv-backup-codes-modal .card-body{width:110mm}.wp2sv-setup #wp2sv-backup-codes-modal .card-body .btn-new-codes{margin:.5em}.wp2sv-setup .backup-codes{border:1px dashed #ccc;padding:16px 0}.wp2sv-setup .backup-codes .backup-info{font-size:14px;text-align:center}.wp2sv-setup .backup-codes .backup-info img{border:none;height:auto;width:48px}.wp2sv-setup .backup-codes .backup-note{font-size:14px;list-style:square;margin:auto;max-width:400px;width:50%;width:-moz-fit-content;width:fit-content}.wp2sv-setup .backup-codes .backup-codes-list{display:inline-block;font-size:15pt;margin:auto;width:auto}.wp2sv-setup .backup-codes .backup-codes-list span.cb{border:1px solid;display:inline-block;height:14px;margin-right:2px;width:14px}.wp2sv-setup .backup-codes .backup-codes-list tr td{padding:.2em 0}.wp2sv-setup .backup-codes .backup-codes-list tr td:first-child{padding-right:40px}.wp2sv-setup .wp2sv-app-passwords{width:100%}.wp2sv-setup .wp2sv-app-passwords .wp2sv-container{background-color:#fff;border-radius:3px;box-shadow:0 1px 2px rgba(0,0,0,.15);box-sizing:border-box;padding:30px;text-align:left}.wp2sv-setup .wp2sv-app-passwords table{border-collapse:collapse;width:100%}.wp2sv-setup .wp2sv-app-passwords table .row{border-bottom:1px solid #e5e5e5}.wp2sv-setup .wp2sv-app-passwords table td{padding:12px 0}.wp2sv-setup .wp2sv-app-passwords table .col-name{padding-left:4px;width:30%}.wp2sv-setup .wp2sv-app-passwords table .col-created,.wp2sv-setup .wp2sv-app-passwords table .col-last-used{padding-left:20px;width:25%}.wp2sv-setup .wp2sv-app-passwords table .col-access{padding-left:20px;width:20%}.wp2sv-setup .wp2sv-app-passwords .app-add-password{line-height:42px;margin:20px 0}.wp2sv-setup .wp2sv-app-passwords .app-add-password span{margin-right:16px}.wp2sv-setup .wp2sv-app-passwords .app-add-password .app-name{margin:0;min-width:200px;padding-right:24px;width:50%}.wp2sv-setup #app-password-created .wp2sv-h1{font-size:20px;margin-bottom:20px}.wp2sv-setup #app-password-created .apc-title{font-weight:700;margin-bottom:16px}.wp2sv-setup #app-password-created .apc-pass{background:#ffe166;border:1px dashed rgba(0,0,0,.12);font-family:monospace;font-size:24px;margin:16px 0 32px;padding:12px}.wp2sv-setup #app-password-created .apc-pchunk{padding-left:1ex}.wp2sv-setup #app-password-created .apc-pchunk:first-child{padding-left:0} -
wordpress-2-step-verification/2.x/readme.txt
r2827906 r3001934 6 6 Requires at least: 4.0 7 7 Requires PHP: 5.6 8 Tested up to: 6. 18 Tested up to: 6.4 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html -
wordpress-2-step-verification/2.x/resources/less/setup/backup-codes.less
r1962237 r3001934 39 39 } 40 40 tr{ 41 td{ 42 padding: 0.2em 0; 43 } 41 44 td:first-child{ 42 45 padding-right: 40px; 43 46 } 44 47 } 48 width: auto; 45 49 margin:auto; 46 50 display: inline-block; -
wordpress-2-step-verification/2.x/wordpress-2-step-verification.php
r2827906 r3001934 5 5 * Description: Wordpress 2-Step Verification adds an extra layer of security to your Wordpress Account. In addition to your username and password, you'll enter a code that generated by Android/iPhone/Blackberry app or Plugin will send you via email upon signing in. 6 6 * Author: as247 7 * Version: 2.5. 67 * Version: 2.5.7 8 8 * Author URI: http://as247.vui360.com/ 9 9 * Compatibility: WordPress 4.0 … … 20 20 define('PHP_INT_MIN', ~PHP_INT_MAX); 21 21 } 22 define('WP2SV_VERSION','2.5. 6');22 define('WP2SV_VERSION','2.5.7'); 23 23 define('WP2SV_ABSPATH', dirname(__FILE__) . '/'); 24 24 define('WP2SV_INC', WP2SV_ABSPATH . 'includes');
Note: See TracChangeset
for help on using the changeset viewer.