Please use the child theme then add code below in the functions.php file of the child theme.
Copy if (!function_exists('digitaz_form_login')) {
function digitaz_form_login() {
if (digitaz_is_woocommerce_activated() && 'yes' === get_option('woocommerce_enable_myaccount_registration')) {
$register_link = get_permalink(get_option('woocommerce_myaccount_page_id'));
} else {
$register_link = wp_registration_url();
}
?>
<div class="login-form-head">
<span class="login-form-title"><?php esc_attr_e('Sign in', 'digitaz') ?></span>
<span class="pull-right">
<a class="register-link" href="<?php echo get_permalink(get_option('woocommerce_myaccount_page_id')); ?>"
title="<?php esc_attr_e('Register', 'digitaz'); ?>"><?php esc_attr_e('Create an Account', 'digitaz'); ?></a>
</span>
</div>
<form class="digitaz-login-form-ajax" data-toggle="validator">
<p>
<label><?php esc_attr_e('Username or email', 'digitaz'); ?> <span class="required">*</span></label>
<input name="username" type="text" required placeholder="<?php esc_attr_e('Username', 'digitaz') ?>">
</p>
<p>
<label><?php esc_attr_e('Password', 'digitaz'); ?> <span class="required">*</span></label>
<input name="password" type="password" required
placeholder="<?php esc_attr_e('Password', 'digitaz') ?>">
</p>
<button type="submit" data-button-action
class="btn btn-primary btn-block w-100 mt-1"><?php esc_html_e('Login', 'digitaz') ?></button>
<input type="hidden" name="action" value="digitaz_login">
<?php wp_nonce_field('ajax-digitaz-login-nonce', 'security-login'); ?>
</form>
<div class="login-form-bottom">
<a href="<?php echo wp_lostpassword_url(get_permalink()); ?>" class="lostpass-link"
title="<?php esc_attr_e('Lost your password?', 'digitaz'); ?>"><?php esc_attr_e('Lost your password?', 'digitaz'); ?></a>
</div>
<?php
}
}
Choose Page My Account, Go to WooCommerce > Settings > Advanced.
Then check again the issue.