PluginProbe ʕ •ᴥ•ʔ
Appointment Booking Plugin – LatePoint | Calendar & Scheduling for WordPress / 5.6.8
Appointment Booking Plugin – LatePoint | Calendar & Scheduling for WordPress v5.6.8
5.6.8 5.6.7 5.6.6 5.6.5 5.6.4 5.6.3 5.6.2 5.6.1 5.6.0 5.5.2 5.5.1 5.5.0 5.4.2 trunk 5.1.0 5.1.1 5.1.2 5.1.3 5.1.4 5.1.5 5.1.6 5.1.7 5.1.8 5.1.9 5.1.91 5.1.92 5.1.93 5.1.94 5.2.0 5.2.1 5.2.10 5.2.11 5.2.2 5.2.3 5.2.4 5.2.5 5.2.6 5.2.7 5.2.8 5.2.9 5.3.0 5.3.1 5.3.2 5.4.0 5.4.1
latepoint / lib / views / customer_cabinet / login.php
latepoint / lib / views / customer_cabinet Last commit date
_booking_tile.php 1 week ago _bundle_tile.php 1 year ago _order_tile.php 2 months ago dashboard.php 2 months ago login.php 9 months ago password_reset_form.php 2 months ago request_password_reset_token.php 2 months ago scheduling_summary_for_bundle.php 1 year ago view_booking_summary_in_lightbox.php 1 year ago view_order_summary_in_lightbox.php 1 year ago
login.php
45 lines
1 <?php
2 if ( ! defined( 'ABSPATH' ) ) {
3 exit; // Exit if accessed directly
4 }
5 ?>
6 <?php
7 $is_auth_enabled = OsAuthHelper::is_customer_auth_enabled();
8 if($is_auth_enabled){
9 $attrs = 'data-redirect-url="'.esc_attr(OsSettingsHelper::get_customer_dashboard_url()).'" data-success-action="'.(OsAuthHelper::is_customer_logged_in() ? 'auto-redirect' : 'redirect').'"';
10 }else{
11 $attrs = '';
12 }
13 ?>
14 <div class="latepoint-w">
15 <div class="os-form-w latepoint-login-form-w" <?php echo $attrs; ?>>
16 <?php
17 if($is_auth_enabled){
18 if(OsAuthHelper::is_customer_logged_in()){
19 echo '<div class="latepoint-customer-dashboard-redirecting">'.__('Redirecting you to your dashboard', 'latepoint').'</div>';
20 }else{
21 ?>
22 <form action="" class="latepoint-form">
23 <div class="latepoint-customer-otp-input-container"></div>
24 <div class="latepoint-customer-auth-options-wrapper hide-when-entering-otp">
25 <div class="latepoint-customer-box-title"><?php _e('Sign in to your account', 'latepoint'); ?></div>
26 <?php
27 echo '<div class="os-step-existing-customer-login-w">';
28 echo OsAuthHelper::auth_form_html( true, new OsCustomerModel() );
29 echo '</div>';
30 echo '<div class="os-password-reset-form-holder"></div>';
31 if ( apply_filters( 'latepoint_customer_login_show_other_options', false ) ) { ?>
32 <div class="os-social-or"><span><?php _e( 'OR', 'latepoint' ); ?></span></div>
33 <?php
34 }
35 ?>
36 <?php do_action('latepoint_after_customer_login_form'); ?>
37 </div>
38 </form>
39 <?php
40 }
41 }else{
42 echo '<div>'.__('Customer authentication is disabled', 'latepoint').'</div>';
43 }?>
44 </div>
45 </div>