Changeset 1213500
- Timestamp:
- 08/05/2015 02:29:53 PM (11 years ago)
- Location:
- duo-wordpress/trunk
- Files:
-
- 2 edited
-
duo_wordpress.php (modified) (2 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
duo-wordpress/trunk/duo_wordpress.php
r1212893 r1213500 33 33 $DuoPing = '/auth/v2/ping'; 34 34 35 function parameterize($key, $value) { 36 return sprintf('%s="%s"', $key, $value); 37 } 38 35 39 function duo_sign_request($user, $redirect) { 36 40 $ikey = duo_get_option('duo_ikey'); … … 54 58 'frameborder' => '0', 55 59 ); 56 $iframe_attributes = array_map(function($key, $value) { 57 return sprintf('%s="%s"', $key, $value); 58 }, array_keys($iframe_attributes), array_values($iframe_attributes)); 60 $iframe_attributes = array_map( 61 "parameterize", 62 array_keys($iframe_attributes), 63 array_values($iframe_attributes) 64 ); 59 65 $iframe_attributes = implode(" ", $iframe_attributes); 60 66 -
duo-wordpress/trunk/readme.txt
r1212814 r1213500 3 3 Tags: authentication, two-factor, authenticator, login, username, password, duo, security 4 4 Requires at least: 3.0 5 Tested up to: 4. 15 Tested up to: 4.2.4 6 6 Stable tag: 2.5 7 7
Note: See TracChangeset
for help on using the changeset viewer.