DEFENDER REDIRECT TO WORDPRESS DEFAULT LOGIN PAGE AFTER SESSION EXPIRED

Hello,
Since i have activated the login duration in Defender, when session expired the website always redirect to the WordPress default login page instead of my custom login page.
I have tried with no success many different codes to solve it.
Any help please?

Thank you in advance