Updated basic_auth issue with Javascript.

This commit is contained in:
jvelilla
2015-07-03 09:28:19 -03:00
parent 011a6b7804
commit f0eff2cb98
5 changed files with 4 additions and 27 deletions

View File

@@ -7,7 +7,7 @@ var userAgent = navigator.userAgent.toLowerCase();
var firstLogIn = true;
ROC_AUTH.login = function() {
var form = document.forms[0];
var form = document.forms['cms_basic_auth'];
var username = form.username.value;
var password = form.password.value;
//var host = form.host.value;