If a user wants to submit a comment it redirects user to wp-login-url instead of my woocommerce shop login page. I found my first part answer in this question Change “logged in” link in (you must be logged in to post a comment) with this code:
'must_log_in' => '<p class="must-log-in">' . sprintf( /* translators: %s: login URL */ __( 'You must be <a href="%s">logged in</a> to post a comment.' ), "https://yourdomain.com/my-account" ) . '</p>',
But after login it redirect users to home page and i don't know how to redirect users to current page. Any help would be appreciated.