Captcha Error Preventing Login Vanjaro for DNN
Product & Version Vanjaro for DNN 1.1.1 DNN 9.10.0
Describe the bug Login form appears to be inactive
To Reproduce Steps to reproduce the behavior: Try to login in
Current behavior I have had this problem on Chrome. However I upgraded an existing DNN site then added the Vanjaro_for_ DNN module. Site works fine but when I attempt to login the sign-in button does nothing.
login:1 [DOM] Input elements should have autocomplete attributes (suggested: "current-password"): (More info: https://goo.gl/9p2vKq) input#Password 2 login:228 Uncaught ReferenceError: validateCaptcha is not defined at HTMLAnchorElement.onclick (login:228) Navigated to https://dev.claytonagri-mktg.com/login js:2 JQMIGRATE: Migrate is installed, version 3.2.0 200864640925053:4 [Violation] Avoid using document.write(). https://developers.google.com/web/updates/2016/08/removing-document-write 200864640925053:10 [Violation] Avoid using document.write(). https://developers.google.com/web/updates/2016/08/removing-document-write login:1 [DOM] Input elements should have autocomplete attributes (suggested: "current-password"): (More info: https://goo.gl/9p2vKq) jotform.forms.js?3.3.24922:115 [Violation] Added synchronous DOM mutation listener to a 'DOMNodeInserted' event. Consider using MutationObserver to make the page more responsive. element_main.js:446 [Violation] Avoid using document.write(). https://developers.google.com/web/updates/2016/08/removing-document-write login:228 Uncaught ReferenceError: validateCaptcha is not defined at HTMLAnchorElemen
The SettingName indicated in the instructions to update does not exist on my system in either table.
update HostSettings set SettingValue='False' where SettingName='Vanjaro.Integration.Captcha.Enabled' update PortalSettings set SettingValue='False' where SettingName='Vanjaro.Integration.Captcha.Enabled'
@scottw12 We were able to duplicate this issue. It is reproducible when you don't have a Login Page defined.
By default, when Vanjaro for DNN Extension is installed, it creates a new login page and sets the page as "login page". Vanjaro also installs its own Authentication Provider and disables default DNN provider.
It's likely you changed this back to a DNN Page rather than Vanjaro Page. Are you trying to use DNN Login? This is not a supported scenario. Installing Vanjaro for DNN will automatically default to Vanjaro Authentication Provider.
Although this is not a recommended approach, but if you must use DNN Authentication Provider then you will need to first enable it from Servers > Extensions > Authentication Systems > Default > Site Settings. You would also need to disable Vanjaro Authentication. There is no UI for this but you may update the Authentication table.
That's the issue. I went into Authentication and both DNN and VANJARO were enabled. I disabled Vanjaro authentication. And the DNN login control worked fine.. The reason is the site is NOT using the sign in page that is created when DNN installs.
So for now I will use the standard DNN authentication until I get the pages rebuilt into Vanjaro and then create a Vanjaro page for login. You think this might be a problem for other DNN sites that dont use a defalt signin pages might also run into this problem.
I also faced this issue today when I installed Vanjaro 1.3.0 on a DNN v.9.10.2 where already a page "SignIn" was existing ...
The vanjaro Install seems to have messed up this page and login was no more possible. I solved it by disabling Vanjaro Auth because we have a custom login Module and Auth process there which is needed
Think it would be good if somewhere there would be a very prominent information about the vanjaro Auth provider/mechanism and its consequences. Something like:
- What's the reason for using a separate Auth system/separate SignIn page for Vanjaro?
- How to come around this and what to do exactly to solve this problem step by step?
- What are the consequences not using it ?
Thanks in advance for any feedback on this Gerald