verify-password.php
52 lines
| 1 | <?php |
| 2 | |
| 3 | function mo_firebase_auth_verify_password_ui() { |
| 4 | ?> |
| 5 | <form name="f" method="post" action=""> |
| 6 | <input type="hidden" name="option" value="mo_firebase_authentication_verify_customer" /> |
| 7 | <div class="mo_firebase_auth_card" style="width:100%"> |
| 8 | <div class="mo_table_layout"> |
| 9 | <!-- <div id="toggle1" class="mo_panel_toggle"> --> |
| 10 | <p style="font-size: 18px">Login with miniOrange</p> |
| 11 | <!-- </div> --> |
| 12 | <p style="font-size: 12px"><b>It seems you already have an account with miniOrange. Please enter your miniOrange email and password.<br/> <a href="#mo_firebase_authentication_forgot_password_link">Click here if you forgot your password?</a></b> |
| 13 | </p> |
| 14 | |
| 15 | <!-- <div id="panel1"> --> |
| 16 | <table class="mo_settings_table"> |
| 17 | <tr> |
| 18 | <td><b><font color="#FF0000">*</font>Email:</b></td> |
| 19 | <td><input class="mo_table_textbox" type="email" name="email" |
| 20 | required placeholder="person@example.com" |
| 21 | value="<?php echo get_option('mo_firebase_authentication_admin_email');?>" /></td> |
| 22 | </tr> |
| 23 | <td><b><font color="#FF0000">*</font>Password:</b></td> |
| 24 | <td><input class="mo_table_textbox" required type="password" |
| 25 | name="password" placeholder="Choose your password" /></td> |
| 26 | </tr> |
| 27 | </table> |
| 28 | <br> |
| 29 | <div> |
| 30 | <input style="margin-left:17%;width:16%" type="submit" name="submit" value="Login" |
| 31 | class="button button-primary button-large" /> </form> |
| 32 | |
| 33 | <input style="margin-left:2%;width:16%" type="button" name="back-button" id="mo_firebase_authentication_back_button" onclick="document.getElementById('mo_firebase_authentication_change_email_form').submit();" value="Back" class="button button-primary button-large" /> |
| 34 | |
| 35 | <form id="mo_firebase_authentication_change_email_form" method="post" action=""> |
| 36 | <input type="hidden" name="option" value="mo_firebase_authentication_change_email" /> |
| 37 | </form> |
| 38 | </div> |
| 39 | </div> |
| 40 | </div> |
| 41 | |
| 42 | <!-- <form name="f" method="post" action="" id="mo_firebase_authentication_forgotpassword_form"> |
| 43 | <input type="hidden" name="option" value="mo_firebase_authentication_forgot_password_form_option"/> |
| 44 | </form> --> |
| 45 | <script> |
| 46 | jQuery("a[href=\"#mo_firebase_authentication_forgot_password_link\"]").click(function(){ |
| 47 | window.open('https://login.xecurify.com/moas/idp/resetpassword'); |
| 48 | //jQuery("#mo_firebase_authentication_forgotpassword_form").submit(); |
| 49 | }); |
| 50 | </script> |
| 51 | <?php |
| 52 | } |