• Resolved hashimea

    (@hashimea)


    Hi,

    we are using AIOS Wp security plugin and using its option to change default login url. With this configuration, the password reset confirmation email sent using the essential addon’s form is still using the original login url (wp-login.php). So the user is unable to use that url to reset password.

Viewing 15 replies - 1 through 15 (of 17 total)
  • Plugin Support Amit Barai Alit

    (@amitbarai013)

    Hi @hashimea ,
    Hope you are doing well.

    In order to change the rest password page, you need to set the Custom Lost page URL to the Lost Password Linked To option. You will get it from Lost Password Linked To > Default WordPress Page. Please check this screenshot: https://d.pr/i/1QCJ9B

    Hope this will resolve your issue. Let me know how it goes.
    Thank you.

    Thread Starter hashimea

    (@hashimea)

    @amitbarai013
    I am fine. Hope you too.

    I have considered the option, but it would defeat the purpose of the Lost Password form, right? Our intention is to avoid redirecting the user to another page and instead use the Lost Password form. The form is currently functioning properly, but the email is being sent using old url.

    Plugin Support Amit Barai Alit

    (@amitbarai013)

    Hi @hashimea ,

    Thank you so much for sharing the detail. We are really sorry to hear about the issue you are facing with. Actually, you can set the Custom Lost Password link to the widget. Please check this screencast to get the detail: https://d.pr/v/bR1KQT

    Can you please check this once on your end?

    However, I have discussed this with the DEV team. We need to investigate this issue deeply. I will let you know the update after checking this on our end, no worries.

    Thanks for your patience.

    Thread Starter hashimea

    (@hashimea)

    Hi,

    Thank you for your reply. I have been using the custom URL field as a temporary solution. However, this approach undermines the whole point of using the form in popup in our workflow. I am hopeful that a permanent solution will be made available soon.

    Plugin Support Amit Barai Alit

    (@amitbarai013)

    Hi @hashimea ,
    Hope you are doing well.

    I am glad to inform you that we have resolved this issue in one of our dev versions of the plugin. Please download the plugin from here and install it on your end: https://d.pr/f/m29vms

    After updating the plugins if that doesn’t work, then please try doing the following: To regenerate assets, you can go to?wp-admin -> Essential Addons?then, switch to the ‘Tools’ tab and hit the ‘Regenerate Assets’ button. Check out this screenshot:?https://d.pr/i/iBccDw

    Also, make sure to Regenerate Files from wp-admin -> Elementor -> Tools -> General as well. Check out this screenshot: https://d.pr/i/N6WC1d

    If the issue still persists, please try clearing your browser cache (by pressing?shift+ctrl+R) or try another browser too.

    Hope this will fix your issue. Let me know how it goes.
    Thank you.

    Plugin Contributor robinwpdeveloper

    (@robinwpdeveloper)

    Hi @hashimea ,

    We use wp_login_url() function to fetch the login url.

    Now this url can be replaced with any other url using filter hook.

    Feel free to install the dev version (will be released soon) and use filter in your theme’s functions.php

    Here is a sample code: https://d.pr/n/BoZ664

    Plugin Contributor robinwpdeveloper

    (@robinwpdeveloper)

    Marking as resolved. Feel free to comment if you still face the issue after applying above suggestion/fix.

    Thread Starter hashimea

    (@hashimea)

    Despite attempting the new version, the problem remains unchanged. The email still contains the default WordPress login link, and furthermore, the password reset notification email is being sent twice.

    Plugin Support Pial

    (@iapial)

    Hello again @hashimea !

    It’s quite unusual that the custom filter isn’t working after adding it to the DEV version of our Plugin. Could you please confirm if you added the filter correctly? It would be helpful if you could provide a screencast demonstrating how you added and used the filter.

    In our implementation, we utilize the wp_login_url() function to retrieve the login URL. This URL can be replaced with any other URL using the filter hook.

    You can find a sample code snippet demonstrating the usage of the filter here.

    To test this functionality, please install the upcoming DEV version of the plugin from here and you can utilize the filter in your theme’s functions.php file; however, It’s recommended to add the code to your site using a functionality plugin like Code Snippets. This way, if any errors occur in the custom code, your site won’t experience any fatal issues.

    Hope it helps
    Let me know how it goes.

    Thread Starter hashimea

    (@hashimea)

    The new filter function working fine while enabling this option (ie enabling reset form). But while using the lost password form without this, the reset url is same.

    https://ibb.co/N3NrpTz

    Plugin Support Pial

    (@iapial)

    Dear @hashimea ,

    After carefully reviewing the situation, we would like to clarify a few points.

    In our implementation, we utilize the wp_login_url() function to retrieve the login URL. This function retrieves the URL based on the site’s settings and configuration. It is not directly responsible for the password reset functionality. The wp_login_url() function simply returns the URL for the default login page, which is handled by WordPress core.

    If you have used a third-party plugin like AIOS Wp security to change the default login URL, it is important to note that any issues related to the password reset functionality are unlikely to be caused by our widget. The password reset functionality is also handled by WordPress core and should not be affected by the login URL change alone.

    To assist you further, we kindly request that you provide us with the following information:

    1. Please share how you have exactly implemented the hook to change the login URL.(provide a screencast demonstrating how you added and used the filter) This will help us understand if any conflicts or misconfigurations may be causing the issue.
    2. Provide the exact URL that is causing the problem with the password reset functionality. We need to examine the URL to identify any potential issues.

    It is worth mentioning that if the password reset functionality is not working correctly after using a third-party plugin to change the login URL, it is possible that the plugin itself is responsible for handling the password reset process. In this case, it is essential to ensure that the plugin is properly configured to handle password resets.

    We are committed to resolving this issue for you, but we will need the requested information to proceed. Once we have a clearer understanding of your implementation and the specific URL causing the problem, we will be better equipped to assist you in finding a solution.

    Thank you for your cooperation, and we look forward to your response.

    Best regards,
    Pial

    Thread Starter hashimea

    (@hashimea)

    To reproduce the problem described, please follow the steps below:

    1. Install the Essential Addons plugin.
    2. Open the functions.php file in your theme folder.
    3. Add the following function to the functions.php file:
    add_filter('eael/login-register/wp-login-url', function( $wp_login_url ){
        // Add your custom login page URL here
        return site_url('/login');
    });
    • Save the changes to the functions.php file.
    • Configure a login form using the Essential Addons plugin. Make sure that the lost password form is enabled and the reset password form is disabled.
    • Save the configuration of the login form.
    • Test the lost password functionality by entering an email address in the input box provided.
    • Check the email you receive and verify the reset URL.

    By following these steps, you should be able to reproduce the issue and observe the problem with the reset URL. I have tested it with wp security plugin and without. So can eliminate the compatibility issue with 3rd party plugin.

    https://ibb.co/N3NrpTz (Disable this reset form)



    There is another problem when we use the login form inside a popup: the show password icon is unresponsive. https://ibb.co/YRyNXjG

    Plugin Support Pial

    (@iapial)

    Hello again @hashimea

    Please provide the exact URL that is causing the problem with the password reset functionality and the icon issue. We need to examine the URL to identify any potential issues.

    Thank you for your cooperation, and we look forward to your response.

    Best regards,
    Pial

    Thread Starter hashimea

    (@hashimea)

    I have switched to another plugin that offers the same features, and it is functioning correctly. Please refer to my previous response to reproduce and resolve the issue.

    The option to customize the lost password email should be available within the lost password tab. Currently, it is located within the reset form, which is part of the next set of workflows.

    • This reply was modified 1 year, 6 months ago by hashimea.
    Plugin Support Pial

    (@iapial)

    Hello again?@hashimea

    I am sorry to hear that you have switched to another Plugin.
    However, I have tried recreating your mentioned issue but it’s working properly on our site check this demonstration : https://d.pr/v/9gRbBT

    About your second comment, the email customization option is already in the “Lost Password Email Option ” Please check here: https://d.pr/v/wIJbBP

    Hope it helps, thank you for your cooperation, and we look forward to your response.

    Best regards,
    Pial


Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Forgor password url problem’ is closed to new replies.