Changeset 1966060
- Timestamp:
- 10/30/2018 08:04:38 PM (7 years ago)
- File:
-
- 1 edited
-
byepass/trunk/byepass.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
byepass/trunk/byepass.php
r1965014 r1966060 19 19 20 20 //only show our login form if we have a key alredy 21 if (get_option('byepass_key') and !empty(get_option('byepass_key'))) {21 if (get_option('byepass_key') and strlen(get_option('byepass_key')) >= 32) { 22 22 add_action('login_head', array($this, 'byepass_login')); 23 23 } … … 109 109 110 110 <table class="form-table"> 111 <?php if ( !empty(get_option('byepass_email')) and !empty(get_option('byepass_key')) and !empty(get_option('byepass_secret'))) { ?>111 <?php if (strpos(get_option('byepass_email'),"@") and strlen(get_option('byepass_key')) >= 32 and strlen(get_option('byepass_secret')) >= 32) { ?> 112 112 <tr valign="top"><td>Byepass is configured!</td></tr> 113 113 <tr valign="top"><td>To login use your Wordpress email: <?php echo sanitize_email(get_option('byepass_email')); ?>!</td></tr>
Note: See TracChangeset
for help on using the changeset viewer.