$secure = "";and change it to
$secure = "CHECKED";All this really does is make the Secure Connect checkbox have a check mark in it.\
function _form_onSubmit(e) {and change it to,
this.timeStamp.value = (new Date()).getTime();
if(this.secure.checked)
this.action = ''+location.hostname+':81/loginHandler.php';
else
this.action = ''+location.hostname+':80/loginHandler.php';
return true
}
function _form_onSubmit(e) {Note: the only change is to the command after the else statement, change http to https and 80 to 81.
this.timeStamp.value = (new Date()).getTime();
if(this.secure.checked)
this.action = ''+location.hostname+':81/loginHandler.php';
else
this.action = ''+location.hostname+':81/loginHandler.php';
return true
}
> > Also, in case anyone is interested, I was able to modify the admin GUI > so that it always requires SSL. It just required two changes to the > login.php script. > interested ! Bob. _______________________________________________ cobalt-security mailing list cobalt-security@xxxxxxxxxxxxxxx http://list.cobalt.com/mailman/listinfo/cobalt-security
-- Hugh Taylor <hrtlist@xxxxxxxxxxxx> |