Changeset 2156379
- Timestamp:
- 09/14/2019 12:46:42 AM (6 years ago)
- Location:
- wp-safepassword/trunk
- Files:
-
- 4 edited
-
cms/main.php (modified) (1 diff)
-
cms/resources.php (modified) (2 diffs)
-
js/connection.js (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-safepassword/trunk/cms/main.php
r2152439 r2156379 307 307 $billed = $spclasses->option->get('billed', $spcms['user_id']); 308 308 ?> 309 <h3 ><?php _e($sptext['login_with_safepassword'], "blank"); ?></h3>309 <h3 id="login-with-safepassword"><?php _e($sptext['login_with_safepassword'], "blank"); ?></h3> 310 310 311 311 <table class="form-table bmsp-register"> -
wp-safepassword/trunk/cms/resources.php
r2152439 r2156379 231 231 $account_type = $spclasses->option->get('type', $spcms['user_id']); 232 232 233 // General Data 233 // General Data 234 234 array_push($js_html, 'window.spsafepwd = [];'); 235 235 array_push($js_html, 'var spsafepwd = [];'); … … 238 238 array_push($js_html, ' spsafepwd["status"] = "'.$status.'";'); 239 239 array_push($js_html, ' spsafepwd["api_url"] = "'.$spcms['api_url'].'";'); 240 array_push($js_html, ' spsafepwd["profile_url"] = "'.get_edit_profile_url($spcms['user_id']).'#login-with-safepassword";'); 240 241 array_push($js_html, ' spsafepwd["type"] = "'.$spcms['type'].'";'); 241 242 array_push($js_html, ' spsafepwd["role"] = "'.$spcms['role'].'";'); -
wp-safepassword/trunk/js/connection.js
r2152439 r2156379 90 90 true); 91 91 92 window.location.href = window.location.href; 92 // Redirect to your profile page 93 window.location.href = spsafepwd["profile_url"]; 93 94 } else { 94 95 // Load Step 2 -
wp-safepassword/trunk/readme.txt
r2156358 r2156379 78 78 == Frequently Asked Questions == 79 79 80 - **How to connect with SafePassword ?**80 - **How to connect with SafePassword Login Security service ?** 81 81 82 82 - After the plugin activation you'll be redirected to the SafePassword dashboard, so that you can finalize the connection. … … 101 101 == Changelog == 102 102 103 = 1.1 = 104 * Redirecting to profile page for enabling Login with SafePassword (after the connection has been completed). 105 103 106 = 1.0 = 104 107 * Initial Release.
Note: See TracChangeset
for help on using the changeset viewer.