DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

Add Captcha to login page

Sort:
You are not authorized to post a reply.





New Around Here





    Hi 

    I have Dnn v. 09.11.00 (46) website I need to add a captcha to the login page 

    I have played with settings but I was unable to enable the captcha for the login page.
    I can enable the captcha on other pages Security > BASIC LOGIN SETTINGS 

    can anyone guide me how to enable captcha on login page 

     






    Growing Member





      I do not believe a captcha on the login control is available anymore through the core of DNN, you would want to look at a third party authentication provider to support that. If you look at the settings for adding a captcha it is only for associating logins, password reset, registration, or change password.





      New Around Here





        Hi Justin 

        Thank you for getting back to me. I have another website where I've added a CAPTCHA to the login page. However, this website was initially built using an older version of DNN (DotNetNuke) and has been recently updated to DNN 9.11. I'm wondering if there's a way to make the CAPTCHA show up on the login page, either by making changes to the database or by modifying the code.






        New Around Here





          I have found solution for that we can enable CAPTCHA in login page fallowing these steps

          In the newer version of DNN, the option to add CAPTCHA to the login page isn't readily available. However, there's a workaround you can implement by following these steps:

          1. Access PortalSettings: Navigate to your DNN installation and locate the PortalSettings.

          2. Add or Locate "DNN_UseCaptcha": If you can't find the "DNN_UseCaptcha" setting, add it to the PortalSettings.

          3. Activate CAPTCHA: Modify the "DNN_UseCaptcha" SettingValue to "True." This action activates the CAPTCHA feature for your login page.

          4. Clear Website Cache: After making this change, clear your website's cache to ensure the newly applied settings take effect.

          5. Restart Application: To finalize the process, restart your application via the admin settings.

          By following these steps, you'll successfully enable the CAPTCHA feature on your DNN website's login page, even after updating to the newer version. This added security measure helps protect your website against unwanted access.





          Advanced Member





            Awesome Ravindu! Thanks for sharing your workaround.

            Ing. Marco Alvarado Gómez MSc | Globalode
            Phone. +506 6049-1880 | WhatsApp. +506 6049-1880 | Email. [email protected]
            Address. Costa Rica (A Pura Vida place!).





            Veteran Member





              Hey!  I just added a set-captcha command to Upendo DNN Prompt for you.  This way, it'll be easier to turn this on/off next time.  ;)  






              New Around Here





                Posted By Ravindu fnf on 8/9/2023 11:43 PM
                I have found solution for that we can enable CAPTCHA in login page fallowing these steps

                In the newer version of DNN, the option to add CAPTCHA to the login page isn't readily available. However, there's a workaround you can implement by following these steps:

                1. Access PortalSettings: Navigate to your DNN installation and locate the PortalSettings.

                2. Add or Locate "DNN_UseCaptcha": If you can't find the "DNN_UseCaptcha" setting, add it to the PortalSettings.

                3. Activate CAPTCHA: Modify the "DNN_UseCaptcha" SettingValue to "True." This action activates the CAPTCHA feature for your login page.

                4. Clear Website Cache: After making this change, clear your website's cache to ensure the newly applied settings take effect.

                5. Restart Application: To finalize the process, restart your application via the admin settings.

                By following these steps, you'll successfully enable the CAPTCHA feature on your DNN website's login page, even after updating to the newer version. This added security measure helps protect your website against unwanted access.

                I followed the steps diligently and am pleased to report that I successfully enabled CAPTCHA on my DNN website's login page.

                 

                 






                Growing Member





                  The setting is still in DNN but not in site settings but under Security.
                  But when activated, nothing happens. Added the workaround to https://github.com/dnnsof...Platform/issues/4409 in order to prove that people still want this :-)
                  You are not authorized to post a reply.

                  These Forums are dedicated to the discussion of DNN Platform.

                  For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

                  1. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy
                  2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
                  3. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
                  4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
                  5. No Flaming or Trolling.
                  6. No Profanity, Racism, or Prejudice.
                  7. Site Moderators have the final word on approving / removing a thread or post or comment.
                  8. English language posting only, please.

                  Would you like to help us?

                  Awesome! Simply post in the forums using the link below and we'll get you started.

                  Get Involved